Skip to content
Snippets Groups Projects
Commit eceef7ad authored by chris's avatar chris
Browse files

menu fix

parent f7de3618
No related branches found
No related tags found
1 merge request!161Connect ui
...@@ -107,15 +107,21 @@ const WaxSurfaceScroll = styled.div` ...@@ -107,15 +107,21 @@ const WaxSurfaceScroll = styled.div`
const MainMenuContainer = styled.div` const MainMenuContainer = styled.div`
background: #fff; background: #fff;
min-height: 52px; min-height: 52px;
line-height: 32px; /* line-height: 32px; */
position: relative; position: relative;
user-select: none; user-select: none;
border-bottom: 2px solid #ecedf1; border-bottom: 2px solid #ecedf1;
@media (max-width: 600px) {
font-size: 10px;
min-height: 72px;
}
`; `;
const MainMenuInner = styled.div` const MainMenuInner = styled.div`
display: flex; display: flex;
align-items: center; flex-wrap: wrap;
justify-content: center;
/* align-items: center; */
/* justify-content: center; */
flex-direction: column; flex-direction: column;
left: 0; left: 0;
position: absolute; position: absolute;
...@@ -135,6 +141,9 @@ const SideMenuContainer = styled.div` ...@@ -135,6 +141,9 @@ const SideMenuContainer = styled.div`
display: flex; display: flex;
width: 14%; width: 14%;
height: 98%; height: 98%;
@media (max-width: 600px) {
display: none;
}
`; `;
const SideMenuInner = styled.div` const SideMenuInner = styled.div`
......
import React from "react"; import React from 'react';
import styled from "styled-components"; import styled from 'styled-components';
import { map } from "lodash"; import { map } from 'lodash';
const MainMenu = styled.div` const MainMenu = styled.div`
display: flex;
flex-wrap: wrap;
background: #fff; background: #fff;
padding: 2px 2px 2px 0; padding: 2px 2px 2px 0;
position: relative; position: relative;
background: transparent;
`; `;
const MainMenuBar = ({ items = [], view }) => { const MainMenuBar = ({ items = [], view }) => {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment