diff options
| author | Geremia Taglialatela <[email protected]> | 2017-01-16 19:24:59 +0100 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-01-16 10:24:59 -0800 |
| commit | 2a45ca51061288ac9dbb7a62b74c02c699d0a88f (patch) | |
| tree | 02695bb9abbe773819aefd693aef8cbdd57b60d9 /docs | |
| parent | 87751da48232ac4ca1964c819aaf89e78a3f9e64 (diff) | |
| download | bootstrap-2a45ca51061288ac9dbb7a62b74c02c699d0a88f.tar.xz bootstrap-2a45ca51061288ac9dbb7a62b74c02c699d0a88f.zip | |
Fix horizontal scrollbar appearing in docs (#21747)
On small screens (< 576px), all documentation pages containing
`.bd-example` styled tags, show the horizontal scrollbar because of a
wrong horizontal margin property.
This PR sets the horizontal margin on gutter width basis instead of rem.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/scss/_component-examples.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assets/scss/_component-examples.scss b/docs/assets/scss/_component-examples.scss index cea237de0..ab3a48dde 100644 --- a/docs/assets/scss/_component-examples.scss +++ b/docs/assets/scss/_component-examples.scss @@ -83,7 +83,7 @@ .bd-example { position: relative; padding: 1rem; - margin: 1rem -1rem; + margin: 1rem (-$grid-gutter-width-base / 2); border: solid #f7f7f9; border-width: .2rem 0 0; @include clearfix(); |
