mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
refactor(gallery): refine navClose with flexbox alignment and z-index (#536)
Replace text-align: right with display: flex, justify-content: flex-end for consistent right alignment. Add height, z-index for layering, and adjust margin/padding for better mobile gallery nav positioning. Signed-off-by: Sped0n <hi@sped0n.com>
This commit is contained in:
@@ -53,9 +53,18 @@
|
||||
align-items: center;
|
||||
|
||||
.navClose {
|
||||
min-width: 25%;
|
||||
text-align: right;
|
||||
cursor: pointer;
|
||||
z-index: calc(var(--z-nav-gallery) + 1);
|
||||
|
||||
min-width: 25%;
|
||||
height: calc(var(--nav-height) * 2.5);
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
|
||||
margin-right: calc(var(--space-standard) * -1);
|
||||
padding-right: var(--space-standard);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user