diff options
Diffstat (limited to 'assets/css/jekyll-theme/fix_bootstrap.css')
-rw-r--r-- | assets/css/jekyll-theme/fix_bootstrap.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/assets/css/jekyll-theme/fix_bootstrap.css b/assets/css/jekyll-theme/fix_bootstrap.css index 03100b3..e6a0d4a 100644 --- a/assets/css/jekyll-theme/fix_bootstrap.css +++ b/assets/css/jekyll-theme/fix_bootstrap.css @@ -41,3 +41,13 @@ pre code { .list-group-item-heading:last-child { margin-bottom: 0; } +/* + * <pre> elements lose horizontal scrollbars on narrow displays (< 768px). + * Why? I don't know, but this guy does: https://stackoverflow.com/a/35423965/514684 + */ +.container { + max-width: 100%; +} +pre { + position: relative; +} |