Skip to content

Commit

Permalink
Update uui-button.element.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
madsrasmussen committed Nov 26, 2024
1 parent 90a4baf commit 8fda93f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/uui-button/lib/uui-button.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,12 @@ export class UUIButtonElement extends UUIFormControlMixin(
.label {
line-height: normal; /** needed to reset 'a > span' */
display: block;
transition: opacity 120ms;
display: flex;
gap: var(--uui-size-1);
align-items: center;
}
:host([state]:not([state=''])) .label {
opacity: 0;
}
Expand Down

0 comments on commit 8fda93f

Please sign in to comment.