File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
src/webviews/apps/shared/components Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ export class GlButton extends LitElement {
48
48
cursor: pointer;
49
49
border: 1px solid var(--button-border);
50
50
border-radius: var(--gk-action-radius, 0.3rem);
51
+ -webkit-font-smoothing: auto;
51
52
}
52
53
53
54
.control {
@@ -59,6 +60,7 @@ export class GlButton extends LitElement {
59
60
gap: var(--button-gap);
60
61
padding: var(--button-padding);
61
62
line-height: var(--button-line-height);
63
+ font-family: inherit;
62
64
63
65
color: inherit;
64
66
text-decoration: none;
@@ -160,7 +162,7 @@ export class GlButton extends LitElement {
160
162
--code-icon-v-align: unset;
161
163
}
162
164
163
- :host(:hover:not([disabled]):not([aria-checked='true'])) {
165
+ :host([aria-checked] :hover:not([disabled]):not([aria-checked='true'])) {
164
166
background-color: var(--vscode-inputOption-hoverBackground);
165
167
}
166
168
@@ -254,7 +256,12 @@ export class GlButton extends LitElement {
254
256
> < slot name ="prefix "> </ slot > < slot class ="label "> </ slot > < slot name ="suffix "> </ slot
255
257
> </ a > ` ;
256
258
}
257
- return html `< button class ="control " ?disabled =${ this . disabled } >
259
+ return html `< button
260
+ class ="control "
261
+ role =${ ifDefined ( this . role ) }
262
+ aria-checked =${ ifDefined ( this . ariaChecked ) }
263
+ ?disabled=${ this . disabled }
264
+ >
258
265
< slot name ="prefix "> </ slot > < slot class ="label "> </ slot > < slot name ="suffix "> </ slot >
259
266
</ button > ` ;
260
267
}
You can’t perform that action at this time.
0 commit comments