diff --git a/packages/docs/src/components/example.js b/packages/docs/src/components/example.js
index df30096..498439a 100644
--- a/packages/docs/src/components/example.js
+++ b/packages/docs/src/components/example.js
@@ -102,7 +102,7 @@ const Code = ({ children, lang = 'jsx', ...props }) => {
css={{
position: 'absolute',
right: 0,
- top: '10px',
+ top: 0,
svg: { color: copied ? '#38C172' : '#929FB1' },
':hover, :focus': { svg: { color: copied ? '#38C172' : '#c6cbd1' } }
}}
diff --git a/packages/docs/src/pages/components/alert.js b/packages/docs/src/pages/components/alert.js
index 19fce8d..790a291 100644
--- a/packages/docs/src/pages/components/alert.js
+++ b/packages/docs/src/pages/components/alert.js
@@ -1,6 +1,6 @@
import React from 'react'
-import { ThemeProvider, Alert, Link, Text } from 'react-ui'
+import { ThemeProvider, Alert, Link, Text, Stack } from 'react-ui'
import {
Page,
@@ -126,7 +126,7 @@ const Documentation = () => {
You did the thing!
`}
-
+
{
}
}}
>
- You should pay attention
- You did the thing!
+
+ You should pay attention
+ You did the thing!
+
diff --git a/packages/docs/src/pages/components/button.js b/packages/docs/src/pages/components/button.js
index d3bff34..a6d7dc2 100644
--- a/packages/docs/src/pages/components/button.js
+++ b/packages/docs/src/pages/components/button.js
@@ -1,5 +1,5 @@
import React from 'react'
-import { ThemeProvider, Button, Link, Text } from 'react-ui'
+import { ThemeProvider, Stack, Button, Link, Text } from 'react-ui'
import {
Page,
Section,
@@ -57,7 +57,6 @@ const Documentation = () => {
-
+
+
+
+ Based on the{' '}
+
+ working draft for flex gap
+
+ , margin on the child element is added to the gap.
+
+
+
+
+
+
+
+
+
+
+ {`
+
+
+
+
+
+ `}
+
)
diff --git a/packages/docs/src/pages/components/switch.js b/packages/docs/src/pages/components/switch.js
index e910755..53a7e6e 100644
--- a/packages/docs/src/pages/components/switch.js
+++ b/packages/docs/src/pages/components/switch.js
@@ -1,5 +1,5 @@
import React from 'react'
-import { ThemeProvider, Switch, Link, Text } from 'react-ui'
+import { ThemeProvider, Switch, Link, Text, Stack } from 'react-ui'
import { Page, Props, Example, Section, Table, Para } from '../../components'
const Documentation = () => {
@@ -123,7 +123,7 @@ const Documentation = () => {
`}
-
+
{
}
}}
>
-
-
+
+
+
+
diff --git a/packages/docs/src/pages/components/tabs.js b/packages/docs/src/pages/components/tabs.js
index 0c795db..8550273 100644
--- a/packages/docs/src/pages/components/tabs.js
+++ b/packages/docs/src/pages/components/tabs.js
@@ -102,7 +102,7 @@ const Documentation = () => {
+