summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages
diff options
context:
space:
mode:
authorLuke Bennett <lukeeeebennettplus@gmail.com>2016-09-27 22:08:05 +0100
committerFatih Acet <acetfatih@gmail.com>2016-09-28 19:11:11 +0300
commit6bca3a3ed94c1d98a9cfac8b115614c2b8943096 (patch)
treecb1efb0cea4c7e1cbb00c4c7d1a222fc4e8f64dd /app/assets/stylesheets/pages
parentee02856d59bcf7998041eaf0bb3d69643203ca35 (diff)
downloadgitlab-ce-6bca3a3ed94c1d98a9cfac8b115614c2b8943096.tar.gz
Review changes
Diffstat (limited to 'app/assets/stylesheets/pages')
-rw-r--r--app/assets/stylesheets/pages/editor.scss18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/editor.scss b/app/assets/stylesheets/pages/editor.scss
index ffd6089c100..e1304335271 100644
--- a/app/assets/stylesheets/pages/editor.scss
+++ b/app/assets/stylesheets/pages/editor.scss
@@ -68,6 +68,24 @@
font-family: $regular_font;
}
+ .soft-wrap-toggle {
+ margin: 0 $btn-side-margin;
+ .soft-wrap {
+ display: block;
+ }
+ .no-wrap {
+ display: none;
+ }
+ &.soft-wrap-active {
+ .soft-wrap {
+ display: none;
+ }
+ .no-wrap {
+ display: block;
+ }
+ }
+ }
+
.gitignore-selector, .license-selector, .gitlab-ci-yml-selector {
.dropdown {
line-height: 21px;