Skip to content

Commit

Permalink
Fix calendar picker options wrapping and overflowing
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Steinmetz <[email protected]>
  • Loading branch information
st3iny committed Feb 19, 2024
1 parent 2a197b4 commit d6418c9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions css/app-sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,10 @@
.v-select {
min-width: unset !important;
}

&__input {
width: 100%;
}
}

.property-color {
Expand Down Expand Up @@ -770,6 +774,7 @@
.calendar-picker-option {
display: flex;
align-items: center;
overflow: hidden;

&__color-indicator {
width: 12px;
Expand All @@ -784,6 +789,7 @@
&__label {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
flex-grow: 1;
}

Expand Down
9 changes: 7 additions & 2 deletions src/components/Shared/CalendarPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,13 @@ export default {
}
</style>

<style>
<style lang="scss">
.vs__search {
// Prevent search from collapsing the actual picked option
flex-basis: 0;
}
.vs__dropdown-menu {
z-index: 10000010 !important;
z-index: 10000010 !important;
}
</style>

0 comments on commit d6418c9

Please sign in to comment.