1
0
mirror of https://github.com/amir20/dozzle.git synced 2026-01-03 03:27:29 +01:00

Tweak appearance of jump to context menu button and ensure it doesn't appear on top of the header

This commit is contained in:
Coteh
2022-02-04 00:44:42 -05:00
parent 3dc30b656c
commit 44119c82e9
3 changed files with 6 additions and 4 deletions

View File

@@ -18,10 +18,11 @@
<script lang="ts" setup></script>
<style lang="scss" scoped>
.button {
background-color: rgba(0, 0, 0, 0);
border: none;
}
.is-top .dropdown-menu {
top: 0;
}
.is-small {
transform: scale(75%);
}
</style>

View File

@@ -8,7 +8,7 @@
:class="item.selected ? 'selected' : ''"
>
<div class="line-options" v-if="isSearching()">
<dropdown-menu class="is-top is-small">
<dropdown-menu class="is-top">
<a class="dropdown-item" @click="jumpToLine">
<div class="level is-justify-content-start">
<div class="level-left">

View File

@@ -90,6 +90,7 @@ section {
top: 0;
background: var(--body-background-color);
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
z-index: 1;
}
&.is-full-height-scrollable {