From 31a2e78b7df90c174c70b079542453db9e7b81f0 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Thu, 17 Jul 2025 15:11:46 -0700 Subject: [PATCH] Fix content not being visible --- src/App.scss | 4 ++++ src/App.tsx | 8 +++++--- src/componets/Sidebar.css | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/App.scss b/src/App.scss index db1f12f..48bcd7d 100644 --- a/src/App.scss +++ b/src/App.scss @@ -1,6 +1,10 @@ @use 'tailwindcss' as *; @use '@fontsource/roboto' as *; +$backgroundColor: #131313; + body { font-family: 'Roboto', sans-serif; + background-color: $backgroundColor; + color: white; } diff --git a/src/App.tsx b/src/App.tsx index dc65681..2a2b01a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -7,9 +7,11 @@ export default function App () { return ( - - } /> - +
+ + } /> + +
) } diff --git a/src/componets/Sidebar.css b/src/componets/Sidebar.css index c8c2d5a..5b7303d 100644 --- a/src/componets/Sidebar.css +++ b/src/componets/Sidebar.css @@ -1,7 +1,7 @@ @import 'tailwindcss'; .sidebar { - @apply w-60 h-screen bg-[#191919] flex flex-col; + @apply fixed top-0 left-0 w-60 h-screen bg-[#191919] flex flex-col; } .logo {