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:
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user