Skip to content

Commit 59f5bba

Browse files
cez81lunny
authored andcommitted
Fix CSS for wiki markdown (#1660)
1 parent 3edb0c5 commit 59f5bba

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

public/css/index.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2227,15 +2227,15 @@ footer .ui.language .menu {
22272227
.repository.wiki.view .ui.sub.header {
22282228
text-transform: none;
22292229
}
2230-
.repository.wiki.view .markdown {
2230+
.repository.wiki.view > .markdown {
22312231
padding: 15px 30px;
22322232
}
2233-
.repository.wiki.view .markdown h1:first-of-type,
2234-
.repository.wiki.view .markdown h2:first-of-type,
2235-
.repository.wiki.view .markdown h3:first-of-type,
2236-
.repository.wiki.view .markdown h4:first-of-type,
2237-
.repository.wiki.view .markdown h5:first-of-type,
2238-
.repository.wiki.view .markdown h6:first-of-type {
2233+
.repository.wiki.view > .markdown h1:first-of-type,
2234+
.repository.wiki.view > .markdown h2:first-of-type,
2235+
.repository.wiki.view > .markdown h3:first-of-type,
2236+
.repository.wiki.view > .markdown h4:first-of-type,
2237+
.repository.wiki.view > .markdown h5:first-of-type,
2238+
.repository.wiki.view > .markdown h6:first-of-type {
22392239
margin-top: 0;
22402240
}
22412241
.repository.settings.collaboration .collaborator.list {

public/less/_repository.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@
11761176
.ui.sub.header {
11771177
text-transform: none;
11781178
}
1179-
.markdown {
1179+
>.markdown {
11801180
padding: 15px 30px;
11811181

11821182
h1, h2, h3, h4, h5, h6 {

0 commit comments

Comments
 (0)