Skip to content

Commit

Permalink
πŸ› fix(bottom-navigation): When item in active state, it sits lower th…
Browse files Browse the repository at this point in the history
…an the non-active items by 2 pixels (saadeghi#1355)

* πŸ› fix(bottom-navigation): Bottom navigation respects the iOS safe-area

* πŸ’„ style: Restore syntax

* πŸ› fix(bottom-navigation): When item in active state, it sits lower than the non-active items by 2 pixels

* πŸ› restore: Moved some old code
  • Loading branch information
bastiaanv committed Nov 16, 2022
1 parent d6222bb commit d1e0c92
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/styled/bottom-navigation.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
&>* {
@apply border-current;

&:not(.active) {
@apply pt-0.5;
}

/* active */
&:where(.active) {
@apply bg-base-100 border-t-2;
Expand Down

0 comments on commit d1e0c92

Please sign in to comment.