Skip to content

Commit

Permalink
feat: min-inline-size for button
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Sep 25, 2021
1 parent 1ede710 commit a35cb57
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/button/bem.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@
font-weight: var(--utrecht-button-font-weight);
inline-size: var(--utrecht-button-inline-size, auto);
letter-spacing: var(--utrecht-button-letter-spacing);
min-inline-size: var(--utrecht-button-min-inline-size, 0);
padding-block-end: var(--utrecht-button-padding-block-end);
padding-block-start: var(--utrecht-button-padding-block-start);
padding-inline-end: var(--utrecht-button-padding-inline-end);
padding-inline-start: var(--utrecht-button-padding-inline-start);
text-transform: var(--utrecht-button-text-transform);
user-select: none;
}

.utrecht-button--distanced {
Expand Down
6 changes: 6 additions & 0 deletions components/button/block.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@
"inherits": true
}
},
"min-inline-size": {
"css": {
"syntax": "<length>",
"inherits": true
}
},
"padding-block-start": {
"css": {
"syntax": "<length>",
Expand Down

0 comments on commit a35cb57

Please sign in to comment.