Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-20 03:15:38 +0300
committerClement Ho <ClemMakesApps@gmail.com>2018-04-20 03:15:38 +0300
commit006b477f94926ba9a03e50912a98ef54d150658e (patch)
tree2c02b9ffea738ef59e1a66f730186e79703687e5 /app
parentabfc13ffa46c8da3fbeb61a4e0b2f1ee644d4da1 (diff)
Readd hide class
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/bootstrap_migration.scss4
-rw-r--r--app/views/projects/_md_preview.html.haml6
2 files changed, 7 insertions, 3 deletions
diff --git a/app/assets/stylesheets/bootstrap_migration.scss b/app/assets/stylesheets/bootstrap_migration.scss
index f6f53b964af..ad00ee65021 100644
--- a/app/assets/stylesheets/bootstrap_migration.scss
+++ b/app/assets/stylesheets/bootstrap_migration.scss
@@ -54,6 +54,10 @@ table {
visibility: hidden !important;
}
+.hide {
+ display: none;
+}
+
.dropdown-toggle::after {
// Remove bootstrap's dropdown caret
display: none;
diff --git a/app/views/projects/_md_preview.html.haml b/app/views/projects/_md_preview.html.haml
index 858ceec46c9..8212ab9a31e 100644
--- a/app/views/projects/_md_preview.html.haml
+++ b/app/views/projects/_md_preview.html.haml
@@ -30,11 +30,11 @@
.md-write-holder
= yield
- .md.md-preview-holder.js-md-preview.d-none.md-preview{ data: { url: url } }
- .referenced-commands.d-none
+ .md.md-preview-holder.js-md-preview.hide.md-preview{ data: { url: url } }
+ .referenced-commands.hide
- if referenced_users
- .referenced-users.d-none
+ .referenced-users.hide
%span
= icon("exclamation-triangle")
You are about to add