Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(unified-search): do not overlap search with button
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Mar 12, 2025
commit 9a006eb29cdb380559182437f3fe5b5d2ab4fc55
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function clearAndCloseSearch() {
// this can break at any time the component library changes
:deep(input) {
// search global width + close button width
padding-inline-end: calc(v-bind('searchGlobalButtonWidth') + var(--default-clickable-area));
padding-inline-end: calc(v-bind('searchGlobalButtonCSSWidth') + var(--default-clickable-area));
}
}
}
Expand All @@ -132,16 +132,16 @@ function clearAndCloseSearch() {
transition: width var(--animation-quick) linear;
}

// Make the position absolut during the transition
// this is needed to "hide" the button begind it
// Make the position absolute during the transition
// this is needed to "hide" the button behind it
.v-leave-active {
position: absolute !important;
}

.v-enter,
.v-leave-to {
&.local-unified-search {
// Start with only the overlayed button
// Start with only the overlay button
--local-search-width: var(--clickable-area-large);
}
}
Expand Down