diff --git a/src/App.tsx b/src/App.tsx index 389d2cf8..c20117c0 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -137,7 +137,7 @@ const App = (): JSX.Element => { >
-
+
@@ -153,7 +153,7 @@ const App = (): JSX.Element => {
-
+
{route.name === 'messages' && } {route.name === 'nodes' && } diff --git a/src/components/templates/PrimaryTemplate.tsx b/src/components/templates/PrimaryTemplate.tsx index cb87fa59..9c9797e2 100644 --- a/src/components/templates/PrimaryTemplate.tsx +++ b/src/components/templates/PrimaryTemplate.tsx @@ -20,16 +20,12 @@ export const PrimaryTemplate = ({
{button &&
{button}
}
-
-
- {tagline} -
-
-
-

- {title} -

-
+ + {tagline} + +

+ {title} +

diff --git a/src/index.css b/src/index.css index b5c61c95..9253a59f 100644 --- a/src/index.css +++ b/src/index.css @@ -1,3 +1,23 @@ @tailwind base; @tailwind components; @tailwind utilities; + +/* custom scrollbar */ +::-webkit-scrollbar { + width: 20px; +} + +::-webkit-scrollbar-track { + background-color: transparent; +} + +::-webkit-scrollbar-thumb { + background-color: #d6dee1; + border-radius: 20px; + border: 6px solid transparent; + background-clip: content-box; +} + +::-webkit-scrollbar-thumb:hover { + background-color: #a8bbbf; +} diff --git a/src/pages/settings/Device.tsx b/src/pages/settings/Device.tsx index 266fe4c8..2c7c9202 100644 --- a/src/pages/settings/Device.tsx +++ b/src/pages/settings/Device.tsx @@ -3,6 +3,7 @@ import React from 'react'; import { useForm } from 'react-hook-form'; import { useTranslation } from 'react-i18next'; +import { Card } from '@app/components/generic/Card'; import { Toggle } from '@app/components/generic/Toggle'; import { connection } from '@app/core/connection'; import { useAppSelector } from '@app/hooks/redux'; @@ -62,17 +63,22 @@ export const Device = ({ navOpen, setNavOpen }: DeviceProps): JSX.Element => { } > -
-
- - - - -
+ +
+
+ + + + +
+
); };