Skip to content

Commit

Permalink
fix popover always mode
Browse files Browse the repository at this point in the history
  • Loading branch information
madeindjs committed Aug 6, 2024
1 parent a38985c commit 56ac443
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/ui/src/core_components/base/BaseInputRange.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<template>
<div class="BaseInputRange">
<div
class="BaseInputRange"
:class="{
'BaseInputRange--popover-always-visible':
popoverDisplayMode === 'always',
}"
>
<transition>
<div
v-show="isPopoverDisplayed"
Expand Down Expand Up @@ -146,6 +152,11 @@ function handleMouseDown(initialEvent: MouseEvent) {
padding-bottom: 5px;
}
.BaseInputRange--popover-always-visible {
/* add extra margin to make sure the popover does not overflow on something */
margin-top: 24px;
}
.BaseInputRange__slider {
height: 8px;
width: 100%;
Expand Down

0 comments on commit 56ac443

Please sign in to comment.