diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-16 21:09:00 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-16 21:09:00 +0300 |
commit | 5c4df0629a70c28eb479b513a3e6860e7a35d1c9 (patch) | |
tree | f9a661c7358b4265b2a479d62365154139f951e4 /app/assets/javascripts/search | |
parent | c1f98d9590def61ad2fca09cc06a7a9d52cdebc5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/search')
-rw-r--r-- | app/assets/javascripts/search/sidebar/components/language_filter.vue | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/app/assets/javascripts/search/sidebar/components/language_filter.vue b/app/assets/javascripts/search/sidebar/components/language_filter.vue index 7a65f8c7956..26ce204cb5c 100644 --- a/app/assets/javascripts/search/sidebar/components/language_filter.vue +++ b/app/assets/javascripts/search/sidebar/components/language_filter.vue @@ -31,9 +31,6 @@ export default { computed: { ...mapState(['aggregations', 'sidebarDirty']), ...mapGetters(['langugageAggregationBuckets']), - ffBasedXPadding() { - return this.glFeatures.searchPageVerticalNav ? 'gl-px-5' : 'gl-px-0'; - }, hasBuckets() { return this.langugageAggregationBuckets.length > 0; }, @@ -87,7 +84,7 @@ export default { class="gl-overflow-x-hidden gl-overflow-y-auto" :class="{ 'language-filter-max-height': showAll }" > - <checkbox-filter :class="ffBasedXPadding" :filter-data="filtersData" /> + <checkbox-filter class="gl-px-5" :filter-data="filtersData" /> <span v-if="showAll && hasOverMax" data-testid="has-over-max-text">{{ $options.i18n.showingMax }}</span> @@ -109,7 +106,7 @@ export default { </div> <div v-if="!aggregations.error"> <hr :class="$options.HR_DEFAULT_CLASSES" /> - <div class="gl-display-flex gl-align-items-center gl-mt-4 gl-mx-5" :class="ffBasedXPadding"> + <div class="gl-display-flex gl-align-items-center gl-mt-4 gl-mx-5 gl-px-5"> <gl-button category="primary" variant="confirm" |