diff --git a/src/demo/router/router.scss b/src/demo/router/router.scss index f161ebe..867f9e5 100644 --- a/src/demo/router/router.scss +++ b/src/demo/router/router.scss @@ -1,3 +1,9 @@ .demo-router-page { width: 100%; + padding: 0 20px; + box-sizing: border-box; + + .nut-button { + margin-top: 10px; + } } diff --git a/src/demo/router/router.tsx b/src/demo/router/router.tsx index 7b8b5b3..052298d 100644 --- a/src/demo/router/router.tsx +++ b/src/demo/router/router.tsx @@ -67,12 +67,38 @@ const RouterDemo = (): JSX.Element => { return ( - - - - - - + + + + ) } diff --git a/src/index/index.scss b/src/index/index.scss index 0eebe2a..cf5d43a 100755 --- a/src/index/index.scss +++ b/src/index/index.scss @@ -5,3 +5,11 @@ font-size: $baseFontColor; box-sizing: border-box; } + +.index { + padding: 0 20px; + + .nut-button { + margin-top: 10px; + } +} diff --git a/src/index/index.tsx b/src/index/index.tsx index 37309d9..7166e66 100755 --- a/src/index/index.tsx +++ b/src/index/index.tsx @@ -36,6 +36,7 @@ const Index = (): JSX.Element => { containerClass="index" >