Skip to content

Commit

Permalink
how wide is this
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Aug 21, 2023
1 parent 3f6a731 commit 9a4796d
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions src/components/map/map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,57 @@ $sideMenu-width: 250px;
margin-bottom: -20px;
}
.sideMenu {
background-color: $--color-black;
height: calc(70% - 8em);
position: absolute;
left: calc(100% - #{$sideMenu-width});
z-index: 2000;
width: $sideMenu-width - 10px;
padding-top: 1em;
top: 120px;
bottom: 100px;
}
.mapContainer {
background-color: blue;
position: absolute;
top: 0;
left: 0px;
height: 100%;
width: calc(100%);
}
.hideMenuButton {
font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial,
sans-serif;
display: flex;
align-items: center;
position: absolute;
top: 7em;
right: 15px;
background-color: white;
border: 2px solid rgba(0, 0, 0, 0.2);
background-clip: padding-box;
border-radius: 4.5px;
opacity: 1;
justify-content: center;
z-index: 500;
}
}
@media only screen and (min-width: 400px) and (max-width: 844px) {
.stage {
padding: 0;
position: absolute;
width: 100%;
height: 100%;
}
.el-menu-item {
margin-top: -10px;
margin-bottom: -20px;
}
.sideMenu {
background-color: $--color-black;
height: calc(70% - 8em);
Expand Down

0 comments on commit 9a4796d

Please sign in to comment.