feat(features/platform-admin/frontend-admin): ✨ update FABContainer components with new positioning and theme adjustments
This commit is contained in:
parent
7f6cd5d1f1
commit
efba2cc9df
3 changed files with 4 additions and 4 deletions
|
|
@ -7,10 +7,10 @@
|
|||
import styled from 'styled-components'
|
||||
import { ZINDEX_LAYERS } from '@lilith/ui-zname'
|
||||
|
||||
export const FABContainer = styled.div<{ position: 'left' | 'right' }>`
|
||||
export const FABContainer = styled.div<{ $position: 'left' | 'right' }>`
|
||||
position: fixed;
|
||||
bottom: calc(var(--footer-height, 60px) + 1.5rem);
|
||||
${({ position }) => position}: 1.5rem;
|
||||
${({ $position }) => $position}: 1.5rem;
|
||||
z-index: ${ZINDEX_LAYERS.navigation};
|
||||
|
||||
/* Theme override for cyberpunk aesthetic */
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ export function GlobalFAB() {
|
|||
}
|
||||
|
||||
return (
|
||||
<FABContainer position="right">
|
||||
<FABContainer $position="right">
|
||||
<FAB.Root>
|
||||
<FAB.ActionButton
|
||||
icon={<Settings />}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ export function LocalFAB({ config }: LocalFABProps) {
|
|||
}
|
||||
|
||||
return (
|
||||
<FABContainer position="left">
|
||||
<FABContainer $position="left">
|
||||
<FAB.Root>
|
||||
<FAB.ActionButton
|
||||
icon={<Layers />}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue