summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorSam Rose <sam@gitlab.com>2017-03-02 09:38:31 -0500
committerSam Rose <sam@gitlab.com>2017-03-03 11:05:40 -0500
commit62b2d6735e6615628e9bfc80a14647f6825b4e4e (patch)
tree7c10c51a51bd82ed92086e7701617935090ae25d /app
parentd95ac1b67f155b507da88685496e36cd64fdb435 (diff)
downloadgitlab-ce-62b2d6735e6615628e9bfc80a14647f6825b4e4e.tar.gz
Set max for Zen mode textarea to screen height28704-fullscreen-zen-mode-is-broken
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/framework/zen.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/zen.scss b/app/assets/stylesheets/framework/zen.scss
index 97ade638db6..0c226ff7598 100644
--- a/app/assets/stylesheets/framework/zen.scss
+++ b/app/assets/stylesheets/framework/zen.scss
@@ -20,8 +20,9 @@
outline: none;
resize: none;
height: 100vh;
+ max-height: calc(100vh - 10px);
max-width: 900px;
- margin: 0 auto;
+ margin: 0 auto 10px;
}
.zen-control-leave {