Skip to content

Commit 976e52c

Browse files
madsrasmussennielslyngsoe
authored andcommitted
Update uui-button.element.ts
1 parent faa4470 commit 976e52c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: packages/uui-button/lib/uui-button.element.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,12 @@ export class UUIButtonElement extends UUIFormControlMixin(
293293
294294
.label {
295295
line-height: normal; /** needed to reset 'a > span' */
296-
display: block;
297296
transition: opacity 120ms;
297+
display: flex;
298+
gap: var(--uui-size-1);
299+
align-items: center;
298300
}
301+
299302
:host([state]:not([state=''])) .label {
300303
opacity: 0;
301304
}

0 commit comments

Comments
 (0)