Fix styles for mobile
This commit is contained in:
parent
23e2ed460b
commit
616ca7ea10
@ -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>;
|
||||
};
|
||||
|
@ -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);
|
||||
|
@ -39,7 +39,7 @@ aside.menu {
|
||||
}
|
||||
|
||||
.dashboard-sidebar {
|
||||
display: flex !important;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: #363636;
|
||||
width: 230px !important;
|
||||
|
@ -481,10 +481,6 @@ li.highlight {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dashboard-frame {
|
||||
margin-top: 4rem !important;
|
||||
}
|
||||
|
||||
.customizable.thumbnail img {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
|
Loading…
Reference in New Issue
Block a user