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>2022-09-01 20:03:41 +0300
committerSuzanne Selhorn <sselhorn@gitlab.com>2022-09-01 20:03:41 +0300
commit3a83785591d0dbbb775c844308c88b060fb0f5aa (patch)
tree2169c62e329b83d89a924ad94032ff3e741a468e
parent21ac4d6d0f198602ba5e32eb66a713415d178b65 (diff)
Tabs style follow-ups
-rw-r--r--content/assets/stylesheets/stylesheet.scss21
-rw-r--r--content/frontend/default/components/tabs_section.vue3
2 files changed, 21 insertions, 3 deletions
diff --git a/content/assets/stylesheets/stylesheet.scss b/content/assets/stylesheets/stylesheet.scss
index 92bc43fe..ad211677 100644
--- a/content/assets/stylesheets/stylesheet.scss
+++ b/content/assets/stylesheets/stylesheet.scss
@@ -1,5 +1,5 @@
---
-version: 129
+version: 130
---
@import 'variables';
@@ -555,6 +555,9 @@ h6[id]::before {
}
}
+.gl-tabs .gl-tabs-nav {
+ margin-bottom: 0;
+}
a.gl-tab-nav-item,
a.gl-tab-nav-item:hover {
border: 0;
@@ -569,9 +572,25 @@ a.gl-tab-nav-item:hover {
margin: 0;
}
.gl-docs .gl-tab-content {
+ padding-top: 1rem;
line-height: 1.5em;
+ p,
+ ul,
+ ol,
+ code,
+ pre {
+ margin-top: 0;
+ }
+
.tab-pane p {
margin-bottom: 1.5em;
}
+
+ ol {
+ list-style-type: decimal;
+ ol {
+ list-style-type: lower-alpha;
+ }
+ }
}
diff --git a/content/frontend/default/components/tabs_section.vue b/content/frontend/default/components/tabs_section.vue
index 1d0d7266..8c2dcb88 100644
--- a/content/frontend/default/components/tabs_section.vue
+++ b/content/frontend/default/components/tabs_section.vue
@@ -37,13 +37,12 @@ export default {
</script>
<template>
- <gl-tabs v-if="hasValidContent" :sync-active-tab-with-query-params="true">
+ <gl-tabs v-if="hasValidContent">
<gl-tab
v-for="(title, key) in tabTitles"
:key="key"
v-safe-html:[safe_html_config]="tabContents[key]"
:title="title"
- :query-param-value="title"
/>
</gl-tabs>
</template>