diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2019-03-29 12:43:06 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-04-01 11:27:08 +0100 |
commit | 904af0164ebf93e166289771eca1701d2949f46f (patch) | |
tree | de69b01fda0218488b119d18d553eddd5153d7d5 /app/assets | |
parent | 62461f77b83de4508176bf0086008bbc2eb0a07b (diff) | |
download | gitlab-ce-904af0164ebf93e166289771eca1701d2949f46f.tar.gz |
Replaces md-area with position-relative for markdown areas
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/vue_shared/components/markdown/field.vue | 2 | ||||
-rw-r--r-- | app/assets/stylesheets/framework/markdown_area.scss | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/app/assets/javascripts/vue_shared/components/markdown/field.vue b/app/assets/javascripts/vue_shared/components/markdown/field.vue index a4b3131c8e4..eccf73e227c 100644 --- a/app/assets/javascripts/vue_shared/components/markdown/field.vue +++ b/app/assets/javascripts/vue_shared/components/markdown/field.vue @@ -189,7 +189,7 @@ export default { <div ref="gl-form" :class="{ 'prepend-top-default append-bottom-default': addSpacingClasses }" - class="md-area js-vue-markdown-field" + class="js-vue-markdown-field md-area position-relative" > <markdown-header :preview-markdown="previewMarkdown" diff --git a/app/assets/stylesheets/framework/markdown_area.scss b/app/assets/stylesheets/framework/markdown_area.scss index b2cc3e2428a..7c10de828cd 100644 --- a/app/assets/stylesheets/framework/markdown_area.scss +++ b/app/assets/stylesheets/framework/markdown_area.scss @@ -50,10 +50,6 @@ transition: opacity 200ms ease-in-out; } -.md-area { - position: relative; -} - .md-header { .nav-links { a { |