File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @primer/css " : patch
3+ ---
4+
5+ Rename SegmentedControl--iconOnly-whenNarrow to SegmentedControl-button--iconOnly-whenNarrow and place on button
Original file line number Diff line number Diff line change 135135
136136// Icon only when narrow
137137@media (max-width : $width-md ) {
138- .SegmentedControl--iconOnly-whenNarrow {
139- .SegmentedControl-button {
140- width : var (--primer-control-medium-size , 32px );
141- }
138+ .SegmentedControl-button--iconOnly-whenNarrow {
139+ width : var (--primer-control-medium-size , 32px );
142140
143141 .SegmentedControl-content {
144142 padding : 0 ;
163161
164162 // reset for icon-only buttons
165163 .SegmentedControl-button--iconOnly ,
166- .SegmentedControl-- iconOnly-whenNarrow .SegmentedControl-button {
164+ .SegmentedControl-button-- iconOnly-whenNarrow {
167165 min-width : unset ;
168166 }
169167}
You can’t perform that action at this time.
0 commit comments