Skip to content

Commit fe64943

Browse files
committed
Updates
1 parent 73c7368 commit fe64943

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

src/components/Controls/Controls.astro

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,6 @@ const { target } = Astro.props;
1212
</fieldset>
1313

1414
<style>
15-
/* .controls {
16-
margin-top: 45px;
17-
padding: 0;
18-
position: relative;
19-
}
20-
21-
legend {
22-
font-weight: bold;
23-
position: absolute;
24-
top: -25px;
25-
} */
26-
2715
.controls {
2816
border: 0;
2917
font-size: var(--sl-text-sm);

src/content/docs/components/tree.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ import DecorationsExample from "@components/examples/tree/DecorationsExample.ast
2020

2121
<Imports />
2222
<PageSwitcher />
23-
<IconsInfo />
2423

2524
## Basic example
2625

26+
Tree component with the default settings.
27+
2728
<Demo>
2829
<BasicExample />
2930
<Controls target="#tree-basic-example" slot="after-demo">
@@ -105,6 +106,8 @@ The visibility of each icon depends on the state of the corresponding tree item.
105106

106107
### Codicons example
107108

109+
<IconsInfo />
110+
108111
<Demo>
109112
<IconsExample />
110113
<Fragment slot="html">
@@ -212,7 +215,7 @@ Icons from installed file icon themes are **not accessible** inside a webview, a
212215
</Fragment>
213216
</Demo>
214217

215-
## Flat list
218+
## Flat tree example
216219

217220
The Tree component can also be used to display lists.
218221

0 commit comments

Comments
 (0)