diff options
Diffstat (limited to 'src/objects/_button.scss')
-rw-r--r-- | src/objects/_button.scss | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/objects/_button.scss b/src/objects/_button.scss index 84da11b..5ba8576 100644 --- a/src/objects/_button.scss +++ b/src/objects/_button.scss | |||
@@ -177,13 +177,14 @@ | |||
177 | padding-block: props.get(vars.$pad-b); | 177 | padding-block: props.get(vars.$pad-b); |
178 | padding-inline: props.get(vars.$pad-i); | 178 | padding-inline: props.get(vars.$pad-i); |
179 | line-height: props.get(vars.$line-height); | 179 | line-height: props.get(vars.$line-height); |
180 | font-size: props.get(vars.$font-size); | ||
180 | text-align: center; | 181 | text-align: center; |
181 | text-decoration: none; | 182 | text-decoration: none; |
182 | text-overflow: ellipsis; | 183 | text-overflow: ellipsis; |
183 | white-space: nowrap; | 184 | white-space: nowrap; |
184 | border: props.get(vars.$border-width) solid transparent; | 185 | border: props.get(vars.$border-width) solid transparent; |
185 | border-radius: props.get(vars.$rounding); | 186 | border-radius: props.get(vars.$rounding); |
186 | transition: background-color .1s, border-color .1s, box-shadow .1s; | 187 | transition: color .1s, background-color .1s, border-color .1s, box-shadow .1s; |
187 | 188 | ||
188 | &::after { | 189 | &::after { |
189 | position: absolute; | 190 | position: absolute; |
@@ -200,6 +201,8 @@ | |||
200 | &:visited, | 201 | &:visited, |
201 | &:enabled { | 202 | &:enabled { |
202 | &:focus-visible { | 203 | &:focus-visible { |
204 | transition: none; | ||
205 | |||
203 | &::after { | 206 | &::after { |
204 | display: block; | 207 | display: block; |
205 | } | 208 | } |