Skip to content

Commit

Permalink
reset menu button higher
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Aug 17, 2023
1 parent 579ef53 commit 9121e0a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
8 changes: 7 additions & 1 deletion src/components/UsrMsg.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="hello">
<button @click="toggleFlag">{{ flag ? 'Hide Building Menu' : 'Show Building Menu' }}</button>
<button @click="toggleFlag" class="toggleButton">{{ flag ? 'Hide Building Menu' : 'Show Building Menu' }}</button>
</div>
</template>

Expand All @@ -22,3 +22,9 @@ export default {
}
}
</script>

<style scoped lang="scss">
.toggleButton {
cursor: pointer;
}
</style>
16 changes: 3 additions & 13 deletions src/components/map/map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -553,17 +553,9 @@ $sideMenu-width: 250px;
z-index: 2000;
width: $sideMenu-width - 10px;
padding-top: 1em;
top: 90px;
top: 120px;
bottom: 100px;
}
.sideMenu-2 {
background-color: $--color-black;
height: 1em;
left: calc(100% - #{$sideMenu-width});
position: absolute;
z-index: 2000;
top: 20px;
}
.mapContainer {
background-color: blue;
position: absolute;
Expand All @@ -579,7 +571,7 @@ $sideMenu-width: 250px;
display: flex;
align-items: center;
position: absolute;
top: 46em;
top: 7em;
right: 15px;
background-color: white;
border: 2px solid rgba(0, 0, 0, 0.2);
Expand All @@ -588,7 +580,6 @@ $sideMenu-width: 250px;
opacity: 1;
justify-content: center;
z-index: 500;
cursor: pointer;
}
}
Expand All @@ -599,7 +590,7 @@ $sideMenu-width: 250px;
display: flex;
align-items: center;
position: absolute;
top: 46em;
top: 7em;
left: 10px;
background-color: white;
border: 2px solid rgba(0, 0, 0, 0.2);
Expand All @@ -608,7 +599,6 @@ $sideMenu-width: 250px;
opacity: 1;
justify-content: center;
z-index: 500;
cursor: pointer;
}
}
Expand Down

0 comments on commit 9121e0a

Please sign in to comment.