summaryrefslogtreecommitdiff
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
parentd95ac1b67f155b507da88685496e36cd64fdb435 (diff)
downloadgitlab-ce-28704-fullscreen-zen-mode-is-broken.tar.gz
Set max for Zen mode textarea to screen height28704-fullscreen-zen-mode-is-broken
-rw-r--r--app/assets/stylesheets/framework/zen.scss3
-rw-r--r--changelogs/unreleased/28704-fullscreen-zen-mode-is-broken.yml4
2 files changed, 6 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 {
diff --git a/changelogs/unreleased/28704-fullscreen-zen-mode-is-broken.yml b/changelogs/unreleased/28704-fullscreen-zen-mode-is-broken.yml
new file mode 100644
index 00000000000..b8dba0b5993
--- /dev/null
+++ b/changelogs/unreleased/28704-fullscreen-zen-mode-is-broken.yml
@@ -0,0 +1,4 @@
+---
+title: Set max height to screen height for Zen mode
+merge_request: 9667
+author: