File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
polaris-react/src/components/Navigation Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @shopify/polaris ' : minor
3+ ---
4+
5+ Adjust CSS for expanded navigation section to remove unwanted space during collapse/expand
Original file line number Diff line number Diff line change @@ -381,14 +381,11 @@ $disabled-fade: 0.6;
381381 margin-left : 0 ;
382382 overflow-x : visible ;
383383
384- & .isExpanded {
385- margin-bottom : var (--p-space-2 );
386- }
387-
388384 .List {
389385 margin : 0 ;
390386 padding : 0 ;
391387 list-style : none ;
388+ margin-bottom : var (--p-space-2 );
392389 }
393390
394391 .Item {
Original file line number Diff line number Diff line change @@ -303,7 +303,6 @@ export function Item({
303303
304304 const SecondaryNavigationClassName = classNames (
305305 styles . SecondaryNavigation ,
306- showExpanded && styles . isExpanded ,
307306 ! icon && styles [ 'SecondaryNavigation-noIcon' ] ,
308307 ) ;
309308
You can’t perform that action at this time.
0 commit comments