Skip to content

Commit 6928031

Browse files
Merge pull request #51566 from nextcloud/backport/51418/stable31
[stable31] fix(unified-search): do not overlap search bar with button
2 parents 6530386 + 717468c commit 6928031

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
@@ -123,7 +123,7 @@ function clearAndCloseSearch() {
123123
// this can break at any time the component library changes
124124
:deep(input) {
125125
// search global width + close button width
126-
padding-inline-end: calc(v-bind('searchGlobalButtonWidth') + var(--default-clickable-area));
126+
padding-inline-end: calc(v-bind('searchGlobalButtonCSSWidth') + var(--default-clickable-area));
127127
}
128128
}
129129
}
@@ -132,16 +132,16 @@ function clearAndCloseSearch() {
132132
transition: width var(--animation-quick) linear;
133133
}
134134
135-
// Make the position absolut during the transition
136-
// this is needed to "hide" the button begind it
135+
// Make the position absolute during the transition
136+
// this is needed to "hide" the button behind it
137137
.v-leave-active {
138138
position: absolute !important;
139139
}
140140
141141
.v-enter,
142142
.v-leave-to {
143143
&.local-unified-search {
144-
// Start with only the overlayed button
144+
// Start with only the overlay button
145145
--local-search-width: var(--clickable-area-large);
146146
}
147147
}

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)