Skip to content

Commit 2ee8a9e

Browse files
committed
Remove test background and n-gap to zn-sp as example
1 parent 947621f commit 2ee8a9e

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

docs/pages/components/panel.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ layout: component
2020
<li tab="something-else">Something Else</li>
2121
</zn-navbar>
2222
23-
<zn-sp id="" divide>
24-
<zn-description-item style="background: var(--zn-color-red-100);" label="Label 1">This is awesome
23+
<zn-sp id="" no-gap divide>
24+
<zn-description-item label="Label 1">This is awesome
2525
</zn-description-item>
26-
<zn-description-item style="background: var(--zn-color-red-100);" label="Label 2">This is awesome
26+
<zn-description-item label="Label 2">This is awesome
2727
</zn-description-item>
2828
</zn-sp>
2929
30-
<zn-sp id="something-else" divide>
31-
<zn-description-item style="background: var(--zn-color-red-100);" label="Label 3">This is not awesome
30+
<zn-sp id="something-else" no-gap divide>
31+
<zn-description-item label="Label 3">This is not awesome
3232
</zn-description-item>
33-
<zn-description-item style="background: var(--zn-color-red-100);" label="Label 4">This is not awesome
33+
<zn-description-item label="Label 4">This is not awesome
3434
</zn-description-item>
3535
</zn-sp>
3636
</zn-tabs>
@@ -76,17 +76,17 @@ panel. This can be useful when using other components such as `zn-tabs`.
7676
<li tab="something-else">Something Else</li>
7777
</zn-navbar>
7878
79-
<zn-sp id="" divide>
80-
<zn-description-item style="background: var(--zn-color-red-100);" label="Label 1">This is awesome
79+
<zn-sp id="" no-gap divide>
80+
<zn-description-item label="Label 1">This is awesome
8181
</zn-description-item>
82-
<zn-description-item style="background: var(--zn-color-red-100);" label="Label 2">This is awesome
82+
<zn-description-item label="Label 2">This is awesome
8383
</zn-description-item>
8484
</zn-sp>
8585
86-
<zn-sp id="something-else" divide>
87-
<zn-description-item style="background: var(--zn-color-red-100);" label="Label 3">This is not awesome
86+
<zn-sp id="something-else" no-gap divide>
87+
<zn-description-item label="Label 3">This is not awesome
8888
</zn-description-item>
89-
<zn-description-item style="background: var(--zn-color-red-100);" label="Label 4">This is not awesome
89+
<zn-description-item label="Label 4">This is not awesome
9090
</zn-description-item>
9191
</zn-sp>
9292
</zn-tabs>
@@ -113,17 +113,17 @@ panel. This can be useful when using other components such as `zn-tabs`.
113113
<li tab="something-else">Something Else</li>
114114
</zn-navbar>
115115
116-
<zn-sp id="" divide>
117-
<zn-description-item style="background: var(--zn-color-red-100);" label="Label 1">This is awesome
116+
<zn-sp id="" no-gap divide>
117+
<zn-description-item label="Label 1">This is awesome
118118
</zn-description-item>
119-
<zn-description-item style="background: var(--zn-color-red-100);" label="Label 2">This is awesome
119+
<zn-description-item label="Label 2">This is awesome
120120
</zn-description-item>
121121
</zn-sp>
122122
123-
<zn-sp id="something-else" divide>
124-
<zn-description-item style="background: var(--zn-color-red-100);" label="Label 3">This is not awesome
123+
<zn-sp id="something-else" no-gap divide>
124+
<zn-description-item label="Label 3">This is not awesome
125125
</zn-description-item>
126-
<zn-description-item style="background: var(--zn-color-red-100);" label="Label 4">This is not awesome
126+
<zn-description-item label="Label 4">This is not awesome
127127
</zn-description-item>
128128
</zn-sp>
129129
</zn-tabs>

0 commit comments

Comments
 (0)