Commit 3c9707e
committed
fix(sidebar): prevent duplicate sidebar components on tablet in grid mode
In tablet grid layout, the flat flex-row styles for sidebar components
were applying 'display: contents' to ALL .sidebar-content containers,
including the desktop-only ones (hidden lg:flex). This caused both the
tablet-specific and desktop-specific sidebar containers to be flattened
into the bottom bar simultaneously, resulting in duplicate components.
The fix narrows the CSS selector to only target tablet-specific
containers by adding the .lg\:hidden class, which is present on tablet
containers but absent from desktop containers.1 parent 227719d commit 3c9707e
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
556 | | - | |
| 556 | + | |
| 557 | + | |
557 | 558 | | |
558 | 559 | | |
559 | 560 | | |
| |||
0 commit comments