diff options
author | Suzanne Selhorn <sselhorn@gitlab.com> | 2023-11-30 03:42:50 +0300 |
---|---|---|
committer | Suzanne Selhorn <sselhorn@gitlab.com> | 2023-11-30 03:42:50 +0300 |
commit | 38d49b2a1461b4a47e54eaf3783917540fb55dc2 (patch) | |
tree | 0492f1acc94b97422e4110734f0885b520439406 | |
parent | e8759d006d94b9e9af5f7db8fad553d1dcbbd435 (diff) | |
parent | 0b6e1ddaa99e086cf5e8a418c8d376e686bcf581 (diff) |
Merge branch '1730-inline-badges' into 'main'
Fix spacing around inline badges
Closes #1730
See merge request https://gitlab.com/gitlab-org/gitlab-docs/-/merge_requests/4433
Merged-by: Suzanne Selhorn <sselhorn@gitlab.com>
Co-authored-by: Sarah German <sgerman@gitlab.com>
-rw-r--r-- | content/assets/stylesheets/stylesheet.scss | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/assets/stylesheets/stylesheet.scss b/content/assets/stylesheets/stylesheet.scss index 0db072b9..65ec26dd 100644 --- a/content/assets/stylesheets/stylesheet.scss +++ b/content/assets/stylesheets/stylesheet.scss @@ -395,13 +395,13 @@ p.result-snippet { color: inherit; } } -.docs-badges-wrapper:not(:first-child) { - margin-left: -0.5rem; -} // Badges in headings .badge-heading-true span.gl-badge { vertical-align: middle; } +.badge-heading-true:not(:first-of-type) { + margin-left: -0.5rem; +} // Badges in regular content .badge-heading-false span.gl-badge { vertical-align: middle; |