repo/wiki: improve UI
parent
d0612be402
commit
62a20b8a2d
|
@ -2331,15 +2331,16 @@ footer .ui.language .menu {
|
||||||
.repository.wiki.view .ui.sub.header {
|
.repository.wiki.view .ui.sub.header {
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
}
|
}
|
||||||
.repository.wiki.view > .markdown {
|
.repository.wiki.view .markdown {
|
||||||
padding: 15px 30px;
|
padding-left: 25px;
|
||||||
|
margin-left: -25px;
|
||||||
}
|
}
|
||||||
.repository.wiki.view > .markdown h1:first-of-type,
|
.repository.wiki.view .markdown h1:first-of-type,
|
||||||
.repository.wiki.view > .markdown h2:first-of-type,
|
.repository.wiki.view .markdown h2:first-of-type,
|
||||||
.repository.wiki.view > .markdown h3:first-of-type,
|
.repository.wiki.view .markdown h3:first-of-type,
|
||||||
.repository.wiki.view > .markdown h4:first-of-type,
|
.repository.wiki.view .markdown h4:first-of-type,
|
||||||
.repository.wiki.view > .markdown h5:first-of-type,
|
.repository.wiki.view .markdown h5:first-of-type,
|
||||||
.repository.wiki.view > .markdown h6:first-of-type {
|
.repository.wiki.view .markdown h6:first-of-type {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
.repository.settings.collaboration .collaborator.list {
|
.repository.settings.collaboration .collaborator.list {
|
||||||
|
|
|
@ -1313,8 +1313,9 @@
|
||||||
.ui.sub.header {
|
.ui.sub.header {
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
}
|
}
|
||||||
>.markdown {
|
.markdown {
|
||||||
padding: 15px 30px;
|
padding-left: 25px;
|
||||||
|
margin-left: -25px;
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
&:first-of-type {
|
&:first-of-type {
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
{{.i18n.Tr "repo.wiki.last_commit_info" .Author.Name $timeSince | Safe}}
|
{{.i18n.Tr "repo.wiki.last_commit_info" .Author.Name $timeSince | Safe}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="ui segment markdown">
|
<div class="markdown">
|
||||||
{{.content | Str2html}}
|
{{.content | Str2html}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue