diff options
-rw-r--r-- | app/assets/stylesheets/pages/repo.scss | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/app/assets/stylesheets/pages/repo.scss b/app/assets/stylesheets/pages/repo.scss index 1ac7679ed49..047c4b3e644 100644 --- a/app/assets/stylesheets/pages/repo.scss +++ b/app/assets/stylesheets/pages/repo.scss @@ -100,34 +100,28 @@ flex: 1; overflow: auto; - >div { + > div, + .file-content { display: flex; - min-height: 100%; } - .blob-viewer { - width: 100%; - min-height: 100%; - } - - .file-content { - display: flex; + > div, + .file-content, + .blob-viewer, + .line-number, + .blob-content, + .code { min-height: 100%; + width: 100%; } .line-numbers { - // 87px height of the top tabs and the bottom buttons combined - // set the line to go all the way down the min viewport - min-height: 100%; min-width: 44px; } .blob-content { - min-height: 100%; - } - - .code { - min-height: 100%; + flex: 1; + overflow-x: auto; } } |