mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 06:37:56 +01:00
bug: responsive layout for all except maps list
This commit is contained in:
parent
eac5f73839
commit
9e0bc83f19
@ -26,30 +26,36 @@ export const StyledNav = styled.nav`
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* Review ....*/
|
||||
.header-middle {
|
||||
grid-column-start: 2;
|
||||
}
|
||||
|
||||
.header-area-right1 {
|
||||
grid-column-start: 3;
|
||||
}
|
||||
|
||||
.header-area-right2 {
|
||||
grid-column-start: 4;
|
||||
grid-column-start: 3;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.header-area-right1 span,
|
||||
.header-area-right2 span {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
|
||||
.header-area-content-span {
|
||||
grid-column-start: 2;
|
||||
grid-column-end: 4;
|
||||
grid-column-end: 3;
|
||||
text-align: right;
|
||||
font-size: 14px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 600px) {
|
||||
.header-area-content-span {
|
||||
display: none;
|
||||
grid-column-start: 2;
|
||||
grid-column-end: 3;
|
||||
text-align: right;
|
||||
font-size: 14px;
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
`;
|
||||
|
||||
export const StyledDiv = styled.nav`
|
||||
@ -63,12 +69,12 @@ export const StyledDiv = styled.nav`
|
||||
|
||||
display: grid;
|
||||
white-space: nowrap;
|
||||
grid-template-columns: 200px 1fr 130px 160px 50px;
|
||||
grid-template-columns: 150px 1fr 160px 20px;
|
||||
`;
|
||||
|
||||
export const Logo = styled.span`
|
||||
grid-column-start: 1;
|
||||
margin-left: 50px;
|
||||
margin-left: 20px;
|
||||
margin-top: 0px;
|
||||
|
||||
.header-logo a {
|
||||
|
@ -6,7 +6,8 @@ const theme = createMuiTheme({
|
||||
'@global': {
|
||||
body: {
|
||||
backgroundColor: 'white',
|
||||
minWidth: '800px'
|
||||
// Important: This size is the min to diplay all pages except maps list.
|
||||
minWidth: '450px'
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user