Skip to content

Commit 9d51ce1

Browse files
committed
Fixes gate link colors in graph
1 parent b302512 commit 9d51ce1

File tree

1 file changed

+11
-7
lines changed
  • src/webviews/apps/plus/graph

1 file changed

+11
-7
lines changed

src/webviews/apps/plus/graph/gate.ts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,23 @@ import { ifDefined } from 'lit/directives/if-defined.js';
55
import { createWebviewCommandLink } from '../../../../system/webview';
66
import type { State } from '../../../plus/graph/protocol';
77
import { GlElement } from '../../shared/components/element';
8+
import { linkStyles } from '../shared/components/vscode.css';
89
import { stateContext } from './context';
910
import '../../shared/components/feature-badge';
1011
import '../../shared/components/feature-gate';
1112

1213
@customElement('gl-graph-gate')
1314
export class GlGraphGate extends GlElement {
14-
static override styles = css`
15-
gl-feature-gate gl-feature-badge {
16-
vertical-align: super;
17-
margin-left: 0.4rem;
18-
margin-right: 0.4rem;
19-
}
20-
`;
15+
static override styles = [
16+
linkStyles,
17+
css`
18+
gl-feature-gate gl-feature-badge {
19+
vertical-align: super;
20+
margin-left: 0.4rem;
21+
margin-right: 0.4rem;
22+
}
23+
`,
24+
];
2125

2226
@consume({ context: stateContext, subscribe: true })
2327
@state()

0 commit comments

Comments
 (0)