diff --git a/static/style.css b/static/style.css index 901a8df..e411b33 100644 --- a/static/style.css +++ b/static/style.css @@ -274,7 +274,8 @@ a:hover { -webkit-user-select: none; -o-user-select: none; user-select: none; - display: flex; + display: inline-block; + text-align: right; float: left; flex-direction: column; margin-right: 1ch; @@ -284,23 +285,35 @@ a:hover { background: var(--light-gray); display: table; padding: 0.5rem - width: 100%; margin-top: 0.5rem; -} - -tr { - display:flex; - flex-direction: row; + overflow-x: auto; } .file-content { background: var(--light-gray); overflow-y: hidden; overflow-x: auto; - display: inline-block; - width: 100%; } +@supports (display: flex) { + .file-wrapper { + width: 100%; + max-width: 750px; + } + .file-wrapper tr { + display:flex; + flex-direction: row; + width: 80vw; + max-width: 750px; + } + .line-numbers { + display: flex; + } + .file-content { + display: iniline-block; + width: 100%; + } +} .diff-type { color: var(--gray); }