Fix styles for mobile

This commit is contained in:
jude 2024-09-25 19:34:09 +01:00
parent 23e2ed460b
commit 616ca7ea10
4 changed files with 3 additions and 9 deletions

View File

@ -1,5 +1,3 @@
export const DesktopSidebar = ({ children }) => {
return (
<div class="column is-2 is-sidebar-menu dashboard-sidebar is-hidden-touch">{children}</div>
);
return <div class="is-2 is-sidebar-menu dashboard-sidebar is-hidden-touch">{children}</div>;
};

View File

@ -52,7 +52,7 @@ export const MobileSidebar = ({ children }) => {
class="dashboard-sidebar mobile-sidebar is-hidden-desktop"
id="mobileSidebar"
style={{
display: sidebarOpen ? "inherit" : "none",
display: sidebarOpen ? "" : "none",
}}
onClick={() => {
setSidebarOpen(!sidebarOpen);

View File

@ -39,7 +39,7 @@ aside.menu {
}
.dashboard-sidebar {
display: flex !important;
display: flex;
flex-direction: column;
background-color: #363636;
width: 230px !important;

View File

@ -481,10 +481,6 @@ li.highlight {
display: none;
}
.dashboard-frame {
margin-top: 4rem !important;
}
.customizable.thumbnail img {
width: 60px;
height: 60px;