mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 04:50:12 +02:00
add server selector to layout animation
This commit is contained in:
@@ -79,3 +79,9 @@
|
||||
.accordion-content:last-child {
|
||||
padding-bottom: var(--theme-spacing-md);
|
||||
}
|
||||
|
||||
.server-selector-wrapper {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -163,9 +163,9 @@ export const Sidebar = () => {
|
||||
)}
|
||||
</Accordion>
|
||||
</ScrollArea>
|
||||
<div style={{ flexShrink: 0, position: 'relative', zIndex: 1 }}>
|
||||
<motion.div className={styles.serverSelectorWrapper} layout>
|
||||
<ServerSelector showImage={showImage} />
|
||||
</div>
|
||||
</motion.div>
|
||||
<AnimatePresence initial={false} mode="popLayout">
|
||||
{showImage && (
|
||||
<motion.div
|
||||
|
||||
Reference in New Issue
Block a user