File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -100,12 +100,15 @@ export class UUIButtonElement extends FormControlMixin(
100
100
text-align: inherit;
101
101
border: none;
102
102
cursor: inherit;
103
- display: block;
103
+
104
+ display: inline-flex;
105
+ align-items: center;
106
+ justify-content: center;
104
107
105
108
/* for anchor tag: */
106
109
text-decoration: none;
107
110
color: currentColor;
108
- line-height: normal ;
111
+ line-height: inherit ;
109
112
110
113
border-width: var(--uui-button-border-width, 1px);
111
114
border-style: solid;
@@ -119,7 +122,6 @@ export class UUIButtonElement extends FormControlMixin(
119
122
calc(var(--uui-size-2) * var(--uui-button-padding-right-factor)) 0
120
123
calc(var(--uui-size-2) * var(--uui-button-padding-left-factor));
121
124
122
- vertical-align: middle;
123
125
box-shadow: none;
124
126
}
125
127
button[disabled]:active,
Original file line number Diff line number Diff line change @@ -324,12 +324,14 @@ export const AnchorTag = Template.bind({});
324
324
AnchorTag . args = {
325
325
href : 'https://www.umbraco.com' ,
326
326
target : '_blank' ,
327
+ look : 'primary' ,
327
328
} ;
328
329
AnchorTag . parameters = {
329
330
docs : {
330
331
source : {
331
332
code : html `
332
333
< uui-button
334
+ look ="primary "
333
335
label ="Open umbraco.com "
334
336
href ="http://www.umbraco.com "
335
337
target ="_blank ">
You can’t perform that action at this time.
0 commit comments