Skip to content

Commit

Permalink
Change overflow-x to initial (rust-lang#818)
Browse files Browse the repository at this point in the history
Change overflow-x from auto to initial.
This resolves weird rendering behavior in Chrome and Safari on macOS.

With help from @bash

Co-authored-by: Ruben Schmidmeister <[email protected]>
  • Loading branch information
2 people authored and Dylan-DPC committed May 7, 2019
1 parent 7ddb94b commit 126f065
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/theme/css/chrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta

:not(pre):not(a) > .hljs {
color: var(--inline-code-color);
overflow-x: initial;
}

a:hover > .hljs {
Expand Down

0 comments on commit 126f065

Please sign in to comment.