Skip to content

Commit 4d1e0cd

Browse files
authored
Merge pull request #51565 from nextcloud/backport/51418/stable30
[stable30] fix(unified-search): do not overlap search bar with button
2 parents e7b0f83 + 775b0aa commit 4d1e0cd

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

core/src/components/UnifiedSearch/UnifiedSearchLocalSearchBar.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function clearAndCloseSearch() {
124124
// this can break at any time the component library changes
125125
:deep(input) {
126126
// search global width + close button width
127-
padding-inline-end: calc(v-bind('searchGlobalButtonWidth') + var(--default-clickable-area));
127+
padding-inline-end: calc(v-bind('searchGlobalButtonCSSWidth') + var(--default-clickable-area));
128128
}
129129
}
130130
}
@@ -133,16 +133,16 @@ function clearAndCloseSearch() {
133133
transition: width var(--animation-quick) linear;
134134
}
135135
136-
// Make the position absolut during the transition
137-
// this is needed to "hide" the button begind it
136+
// Make the position absolute during the transition
137+
// this is needed to "hide" the button behind it
138138
.v-leave-active {
139139
position: absolute !important;
140140
}
141141
142142
.v-enter,
143143
.v-leave-to {
144144
&.local-unified-search {
145-
// Start with only the overlayed button
145+
// Start with only the overlay button
146146
--local-search-width: var(--clickable-area-large);
147147
}
148148
}

dist/core-unified-search.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/core-unified-search.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)