Commit 108e8eb4 authored by Mark Florian's avatar Mark Florian

Merge branch '27142-divider-in-readme-is-overlaying-with-image' into 'master'

added an overflow:hidden to prevent h2 and h1 lines from overlapping images

Closes #27142

See merge request gitlab-org/gitlab!24181
parents 3f6322ac 026eb741
...@@ -102,6 +102,7 @@ ...@@ -102,6 +102,7 @@
padding-bottom: 0.3em; padding-bottom: 0.3em;
border-bottom: 1px solid $white-dark; border-bottom: 1px solid $white-dark;
color: $gl-text-color; color: $gl-text-color;
overflow: hidden;
&:first-child { &:first-child {
margin-top: 0; margin-top: 0;
...@@ -115,6 +116,7 @@ ...@@ -115,6 +116,7 @@
padding-bottom: 0.3em; padding-bottom: 0.3em;
border-bottom: 1px solid $white-dark; border-bottom: 1px solid $white-dark;
color: $gl-text-color; color: $gl-text-color;
overflow: hidden;
} }
h3 { h3 {
......
---
title: Do not draw heading borders over floated images in markdown
merge_request:
author: Gwen_
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment