From b3c1cff5ed9f0d2bc1cbb98ec6692e8e12a78d94 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 30 Sep 2020 22:27:15 -0700 Subject: [PATCH] Remove overflow-x settings to hide scrollbars Upgrade the stylesheet so that overflow-x settings are not used. These cause odd visual artifacts on a Mac when "show scrollbars" is set to "always". Closes gh-49 --- src/main/sass/spring/_asciidoctor.scss | 2 -- src/main/sass/spring/_layout.scss | 1 - 2 files changed, 3 deletions(-) diff --git a/src/main/sass/spring/_asciidoctor.scss b/src/main/sass/spring/_asciidoctor.scss index 503b28e..39d0be8 100644 --- a/src/main/sass/spring/_asciidoctor.scss +++ b/src/main/sass/spring/_asciidoctor.scss @@ -1032,7 +1032,6 @@ table.pyhltable .linenodiv { table.tableblock { max-width: 100%; border-collapse: separate; - overflow-x: scroll; display: block; } @@ -1615,7 +1614,6 @@ b.conum * { margin: 30px 0; width: auto; border-radius: 4px; - overflow-x: auto; &.important { border-left: 0px solid #e20000; background-color: #f9ebeb; diff --git a/src/main/sass/spring/_layout.scss b/src/main/sass/spring/_layout.scss index 1dde349..973160a 100644 --- a/src/main/sass/spring/_layout.scss +++ b/src/main/sass/spring/_layout.scss @@ -269,7 +269,6 @@ h6 { pre.highlight { padding: 20px; border: 1px solid #d9d9d9; - overflow-x: scroll; code { color: #222; }