Skip to content

Commit

Permalink
fix icon only
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank committed Oct 18, 2023
1 parent 3e555aa commit db7bcf4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/primer/alpha/segmented_control.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
& .Button--iconOnly.Button--medium,
& .Button--iconOnly.Button--large {
width: 100%;
padding-inline: 0;
padding-inline: 0 !important;
}
}

Expand Down
12 changes: 12 additions & 0 deletions static/classes.json
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,18 @@
"SegmentedControl--fullWidth": [
"Primer::Alpha::SegmentedControl"
],
"SegmentedControl--iconOnly": [
"Primer::Alpha::SegmentedControl"
],
"SegmentedControl--large": [
"Primer::Alpha::SegmentedControl"
],
"SegmentedControl--medium": [
"Primer::Alpha::SegmentedControl"
],
"SegmentedControl--small": [
"Primer::Alpha::SegmentedControl"
],
"SegmentedControl-item": [
"Primer::Alpha::SegmentedControl"
],
Expand Down

0 comments on commit db7bcf4

Please sign in to comment.