diff options
author | Himanshu Kapoor <info@fleon.org> | 2019-08-14 16:09:48 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-08-14 16:09:48 +0000 |
commit | 0290d9796fa18b33b3efb2cde23dc1384ad9fe53 (patch) | |
tree | 00e94777bdc3eec1baeffc76da6ebffba639da16 /app/assets | |
parent | 8fc2fbb6f2192fb77e2efedf40002ba0a009748e (diff) | |
download | gitlab-ce-0290d9796fa18b33b3efb2cde23dc1384ad9fe53.tar.gz |
Fix style-lint errors in wiki.scss
There were two errors: duplicate styles and @extend used with a class
name. I added `.top-area` class to all the instances where
`.wiki-page-header` is used since %top-area didn't really make a lot of
sense as a placeholder selector. This is also consistent with behaviour
on other pages where the `.top-area` class is used alongside the other
classes for the specific header styling.
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/pages/wiki.scss | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/app/assets/stylesheets/pages/wiki.scss b/app/assets/stylesheets/pages/wiki.scss index 60400f10ca5..379df1c4db1 100644 --- a/app/assets/stylesheets/pages/wiki.scss +++ b/app/assets/stylesheets/pages/wiki.scss @@ -1,19 +1,3 @@ -.new-wiki-page { - .new-wiki-page-slug-tip { - display: inline-block; - max-width: 100%; - margin-top: 5px; - } -} - -.wiki-form { - .edit-wiki-page-slug-tip { - display: inline-block; - max-width: 100%; - margin-top: 5px; - } -} - .title .edit-wiki-header { width: 780px; margin-left: auto; @@ -22,7 +6,6 @@ } .wiki-page-header { - @extend .top-area; position: relative; .wiki-breadcrumb { |