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
diff options
context:
space:
mode:
authorHimanshu Kapoor <info@fleon.org>2019-08-14 19:09:48 +0300
committerFilipa Lacerda <filipa@gitlab.com>2019-08-14 19:09:48 +0300
commit0290d9796fa18b33b3efb2cde23dc1384ad9fe53 (patch)
tree00e94777bdc3eec1baeffc76da6ebffba639da16 /app/assets/stylesheets/pages/wiki.scss
parent8fc2fbb6f2192fb77e2efedf40002ba0a009748e (diff)
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/stylesheets/pages/wiki.scss')
-rw-r--r--app/assets/stylesheets/pages/wiki.scss17
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 {