Fix styles for mobile
This commit is contained in:
parent
23e2ed460b
commit
616ca7ea10
@ -1,5 +1,3 @@
|
|||||||
export const DesktopSidebar = ({ children }) => {
|
export const DesktopSidebar = ({ children }) => {
|
||||||
return (
|
return <div class="is-2 is-sidebar-menu dashboard-sidebar is-hidden-touch">{children}</div>;
|
||||||
<div class="column 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"
|
class="dashboard-sidebar mobile-sidebar is-hidden-desktop"
|
||||||
id="mobileSidebar"
|
id="mobileSidebar"
|
||||||
style={{
|
style={{
|
||||||
display: sidebarOpen ? "inherit" : "none",
|
display: sidebarOpen ? "" : "none",
|
||||||
}}
|
}}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setSidebarOpen(!sidebarOpen);
|
setSidebarOpen(!sidebarOpen);
|
||||||
|
@ -39,7 +39,7 @@ aside.menu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.dashboard-sidebar {
|
.dashboard-sidebar {
|
||||||
display: flex !important;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background-color: #363636;
|
background-color: #363636;
|
||||||
width: 230px !important;
|
width: 230px !important;
|
||||||
|
@ -481,10 +481,6 @@ li.highlight {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dashboard-frame {
|
|
||||||
margin-top: 4rem !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.customizable.thumbnail img {
|
.customizable.thumbnail img {
|
||||||
width: 60px;
|
width: 60px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
|
Loading…
Reference in New Issue
Block a user