frontend: remove duplicate zoom control, fix position
Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
This commit is contained in:
parent
ce2cc79610
commit
da9bd21c45
2 changed files with 13 additions and 6 deletions
|
|
@ -8,3 +8,14 @@ body {
|
||||||
#kektus {
|
#kektus {
|
||||||
font-family: 'Montserrat', sans-serif;
|
font-family: 'Montserrat', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ol-zoom {
|
||||||
|
top: 120px !important;
|
||||||
|
left: .5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 500px) {
|
||||||
|
.ol-zoom {
|
||||||
|
top: 70px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -37,7 +37,6 @@ onMounted(() => {
|
||||||
<ol-source-osm />
|
<ol-source-osm />
|
||||||
</ol-tile-layer>
|
</ol-tile-layer>
|
||||||
<ol-scaleline-control />
|
<ol-scaleline-control />
|
||||||
<ol-zoom-control zoomInLabel="+" zoomOutLabel="-" />
|
|
||||||
|
|
||||||
<ol-overlay
|
<ol-overlay
|
||||||
v-for="post in postStore.posts" :key="post.id"
|
v-for="post in postStore.posts" :key="post.id"
|
||||||
|
|
@ -82,7 +81,4 @@ onMounted(() => {
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.ol-zoom {
|
|
||||||
top: 70px !important;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue