Skip to content

Commit edad3e9

Browse files
General cleanup
1 parent 4e35d71 commit edad3e9

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

packages/cursorless-org-docs/src/docs/user/languages/components/Code.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@
6464
}
6565

6666
.code-ws-symbol {
67-
color: #555;
67+
color: #666;
6868
}

packages/cursorless-org-docs/src/docs/user/languages/components/Language.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ interface Props {
77
}
88

99
export function Language({ languageId }: Props) {
10-
// TODO: find a better place for the scope visualizer
1110
return (
1211
<>
12+
<h2>Scopes</h2>
1313
<ScopeVisualizer languageId={languageId} />
1414
<ScopeSupport languageId={languageId} />
1515
</>

packages/cursorless-org-docs/src/docs/user/languages/components/ScopeSupport.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,10 @@ export function ScopeSupport({ languageId }: Props): React.JSX.Element {
2626

2727
return (
2828
<>
29-
<h2>Scopes</h2>
30-
3129
<ScopeSupportForLevel
3230
facets={supportedFacets}
3331
title="Supported facets"
3432
subtitle="These facets are supported"
35-
open
3633
/>
3734

3835
<ScopeSupportForLevel

packages/cursorless-org-docs/src/docs/user/languages/components/ScopeVisualizer.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ function renderFacet(
101101
<span className="facet-name" title={facet.facet}>
102102
{facet.name}
103103
</span>
104-
<p>{facet.info.description}</p>
104+
<br />
105+
<i>{facet.info.description}</i>
105106
{facet.fixtures.map((fixture) => (
106107
<Code
107108
key={fixture.name}

0 commit comments

Comments
 (0)