Skip to content

Commit fd485ae

Browse files
committed
fix
1 parent 11135b5 commit fd485ae

2 files changed

Lines changed: 1 addition & 48 deletions

File tree

playgrounds/tskm/src/App.tsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -174,17 +174,7 @@ export function App() {
174174
</Pane>
175175

176176
<div className="editor-grid">
177-
<Pane
178-
title="Schema"
179-
variant="source"
180-
meta={
181-
<div className="legend">
182-
<span className="legend__item legend__item--schema">schema</span>
183-
<span className="legend__item legend__item--action">action</span>
184-
<span className="legend__item legend__item--method">method</span>
185-
</div>
186-
}
187-
>
177+
<Pane title="Schema" variant="source">
188178
<MonacoEditor
189179
label="tskm schema expression"
190180
value={schemaSource}

playgrounds/tskm/src/styles.css

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,6 @@ a {
225225
.github-link:focus-visible,
226226
.segmented-control__item:focus-visible,
227227
.checkbox-control:focus-within,
228-
.monaco-code-editor:focus-within,
229-
.code-editor:focus-within,
230228
.highlighted-code:focus-visible {
231229
outline: var(--focus-ring);
232230
outline-offset: var(--focus-ring-offset);
@@ -381,41 +379,6 @@ a {
381379
cursor: pointer;
382380
}
383381

384-
.legend {
385-
display: flex;
386-
align-items: center;
387-
gap: 6px;
388-
flex-wrap: wrap;
389-
}
390-
391-
.legend__item {
392-
display: inline-flex;
393-
align-items: center;
394-
min-height: 20px;
395-
padding: 0 6px;
396-
border: 1px solid;
397-
font-size: 0.7rem;
398-
line-height: 1;
399-
}
400-
401-
.legend__item--schema {
402-
border-color: #74a8c9;
403-
color: #235578;
404-
background: #eaf5fb;
405-
}
406-
407-
.legend__item--action {
408-
border-color: #9abd72;
409-
color: #3c6124;
410-
background: #edf7e2;
411-
}
412-
413-
.legend__item--method {
414-
border-color: #cfab63;
415-
color: #765214;
416-
background: #fff6df;
417-
}
418-
419382
.status-badge {
420383
display: inline-flex;
421384
align-items: center;

0 commit comments

Comments
 (0)