Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarah German <sgerman@gitlab.com>2023-07-11 00:21:25 +0300
committerSarah German <sgerman@gitlab.com>2023-07-11 00:21:25 +0300
commit355b96a04354f700760e3311cb5279c41dde7e7b (patch)
tree1b089687bf2c9e87a6afeccbff8f87c05ed19258
parent569de9ad27810fc14bea742e365df93b3aeb3930 (diff)
Fix inconsistent spacinggps-spacing-fixes
-rw-r--r--content/assets/stylesheets/stylesheet.scss3
-rw-r--r--content/frontend/search/components/google_search_form.vue2
-rw-r--r--content/frontend/search/components/recently_viewed.vue4
3 files changed, 4 insertions, 5 deletions
diff --git a/content/assets/stylesheets/stylesheet.scss b/content/assets/stylesheets/stylesheet.scss
index 9158113d..8a48dbf8 100644
--- a/content/assets/stylesheets/stylesheet.scss
+++ b/content/assets/stylesheets/stylesheet.scss
@@ -309,9 +309,8 @@ ol {
}
.gs-results {
width: $search-sm-width;
- top: 5.25rem;
+ margin-top: 1px;
@media (min-width: $bp-md) {
- top: 2.75rem;
width: $search-lg-width;
}
}
diff --git a/content/frontend/search/components/google_search_form.vue b/content/frontend/search/components/google_search_form.vue
index 2b0c8fe6..6a90724b 100644
--- a/content/frontend/search/components/google_search_form.vue
+++ b/content/frontend/search/components/google_search_form.vue
@@ -161,7 +161,7 @@ export default {
v-show="showResultPanel"
class="gs-results gl-absolute gl-z-index-200 gl-bg-white gl-rounded gl-px-3 gl-shadow"
>
- <ul v-show="results.length" data-testid="search-results" class="gl-pl-0 gl-mb-3 gl-pt-3">
+ <ul v-if="results.length" data-testid="search-results" class="gl-pl-0 gl-mb-0 gl-pt-3">
<li v-for="(result, index) in results" :key="result.cacheId" class="gl-list-style-none">
<gl-link
v-safe-html="result.formattedTitle"
diff --git a/content/frontend/search/components/recently_viewed.vue b/content/frontend/search/components/recently_viewed.vue
index d06d4fad..c3be7da8 100644
--- a/content/frontend/search/components/recently_viewed.vue
+++ b/content/frontend/search/components/recently_viewed.vue
@@ -21,9 +21,9 @@ export default {
</script>
<template>
- <div v-if="pageHistory.length" class="gl-py-3 gl-mt-3">
+ <div v-if="pageHistory.length" class="gl-py-3 gl-mt-2">
<div class="gl-font-weight-bold gl-text-left">Recently viewed</div>
- <ul class="gl-pl-0 gl-mb-3 gl-pt-3">
+ <ul class="gl-pl-0 gl-mb-0 gl-pt-3">
<li v-for="(page, index) in pageHistory" :key="page.path" class="gl-list-style-none">
<gl-link
:href="page.path"