Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit ca3ab06

Browse files
committed
fix: added spaces between section in live code snippets
1 parent d2ce62e commit ca3ab06

File tree

2 files changed

+10
-32
lines changed

2 files changed

+10
-32
lines changed

packages/chakra-ui-docs/docs/tabs.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ you can have tabs at the top, at the bottom, or both.
3636
<c-tab>Two</c-tab>
3737
<c-tab>Three</c-tab>
3838
</c-tab-list>
39+
3940
<c-tab-panels>
4041
<c-tab-panel>
4142
<p>one!</p>
@@ -64,6 +65,7 @@ Tabs come in 6 different variants to style the tabs: `line`,`enclosed`,
6465
<c-tab>Two</c-tab>
6566
<c-tab>Three</c-tab>
6667
</c-tab-list>
68+
6769
<c-tab-panels>
6870
<c-tab-panel>
6971
<p>one!</p>
@@ -93,6 +95,7 @@ You can also change the color for any specific variant by passing the
9395
<c-tab>Two</c-tab>
9496
<c-tab>Three</c-tab>
9597
</c-tab-list>
98+
9699
<c-tab-panels>
97100
<c-tab-panel>
98101
<p>one!</p>
@@ -121,6 +124,7 @@ You can change the size of the tab by passing `size` prop. We support 3 sizes
121124
<c-tab>Two</c-tab>
122125
<c-tab>Three</c-tab>
123126
</c-tab-list>
127+
124128
<c-tab-panels>
125129
<c-tab-panel>
126130
<p>one!</p>
@@ -149,6 +153,7 @@ support 3 sizes `start`, `center`, `end`.
149153
<c-tab>Two</c-tab>
150154
<c-tab>Three</c-tab>
151155
</c-tab-list>
156+
152157
<c-tab-panels>
153158
<c-tab-panel>
154159
<p>one!</p>
@@ -176,6 +181,7 @@ Stretch the tab list to fit the container by passing `isFitted` prop.
176181
<c-tab>Two</c-tab>
177182
<c-tab>Three</c-tab>
178183
</c-tab-list>
184+
179185
<c-tab-panels>
180186
<c-tab-panel>
181187
<p>one!</p>
@@ -201,6 +207,7 @@ Stretch the tab list to fit the container by passing `isFitted` prop.
201207
<c-tab>Two</c-tab>
202208
<c-tab>Three</c-tab>
203209
</c-tab-list>
210+
204211
<c-tab-panels>
205212
<c-tab-panel>
206213
<p>one!</p>
@@ -226,6 +233,7 @@ Stretch the tab list to fit the container by passing `isFitted` prop.
226233
<c-tab>Two</c-tab>
227234
<c-tab is-disabled>Three</c-tab>
228235
</c-tab-list>
236+
229237
<c-tab-panels>
230238
<c-tab-panel>
231239
<p>one!</p>
@@ -263,6 +271,7 @@ tab by pressing <kbd>Space</kbd> or <kbd>Enter</kbd>.
263271
<c-tab>Two</c-tab>
264272
<c-tab>Three</c-tab>
265273
</c-tab-list>
274+
266275
<c-tab-panels>
267276
<c-tab-panel>
268277
<p>one!</p>

packages/chakra-ui-docs/static/sw.js

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1 @@
1-
importScripts('https://cdn.jsdelivr.net/npm/workbox-cdn@4.3.1/workbox/workbox-sw.js')
2-
3-
// --------------------------------------------------
4-
// Configure
5-
// --------------------------------------------------
6-
7-
// Set workbox config
8-
workbox.setConfig({
9-
"debug": false
10-
})
11-
12-
// Start controlling any existing clients as soon as it activates
13-
workbox.core.clientsClaim()
14-
15-
// Skip over the SW waiting lifecycle stage
16-
workbox.core.skipWaiting()
17-
18-
workbox.precaching.cleanupOutdatedCaches()
19-
20-
// --------------------------------------------------
21-
// Precaches
22-
// --------------------------------------------------
23-
24-
// Precache assets
25-
26-
// --------------------------------------------------
27-
// Runtime Caching
28-
// --------------------------------------------------
29-
30-
// Register route handlers for runtimeCaching
31-
workbox.routing.registerRoute(new RegExp('/_nuxt/'), new workbox.strategies.CacheFirst ({}), 'GET')
32-
workbox.routing.registerRoute(new RegExp('/'), new workbox.strategies.NetworkFirst ({}), 'GET')
1+
// THIS FILE SHOULD NOT BE VERSION CONTROLLED

0 commit comments

Comments
 (0)