diff options
author | Phil Hughes <me@iamphill.com> | 2017-08-18 08:59:27 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-08-18 08:59:27 +0100 |
commit | 522b28faeba26e87e10cbc911bc71596de0ca617 (patch) | |
tree | 5fe884ee470e8326aab8ab3cbb026b605e25d87a | |
parent | 557c2dad4c771efd7114cde99c67d83687111878 (diff) | |
download | gitlab-ce-short-code.tar.gz |
fixed up some weird line-number shrinking bugshort-code
-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; } } |