mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
wiki - page revisions list (#7369)
fix #7 * add wiki page revision list * mobile improvements * css improvements for long usernames * split renderWikiPage into 3 functions Signed-off-by: Michael Gnehr <michael@gnehr.de>
This commit is contained in:
@@ -290,6 +290,11 @@ footer .ui.left,footer .ui.right{line-height:40px}
|
||||
.markdown:not(code) .csv-data tr{border-top:0}
|
||||
.markdown:not(code) .csv-data th{font-weight:700;background:#f8f8f8;border-top:0}
|
||||
.markdown:not(code) .ui.list .list,.markdown:not(code) ol.ui.list ol,.markdown:not(code) ul.ui.list ul{padding-left:2em}
|
||||
.repository.wiki.revisions .ui.container>.ui.stackable.grid{flex-direction:row-reverse}
|
||||
.repository.wiki.revisions .ui.container>.ui.stackable.grid>.header{margin-top:0}
|
||||
.repository.wiki.revisions .ui.container>.ui.stackable.grid>.header .sub.header{padding-left:52px}
|
||||
.file-revisions-btn{display:block;float:left;margin-bottom:2px!important;padding:11px!important;margin-right:10px!important}
|
||||
.file-revisions-btn i{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
||||
.home .logo{max-width:220px}
|
||||
@media only screen and (max-width:767px){.home .hero h1{font-size:3.5em}
|
||||
.home .hero h2{font-size:2em}
|
||||
|
@@ -494,3 +494,35 @@
|
||||
padding-left: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
.repository.wiki.revisions {
|
||||
.ui.container > .ui.stackable.grid {
|
||||
-ms-flex-direction: row-reverse;
|
||||
flex-direction: row-reverse;
|
||||
|
||||
> .header {
|
||||
margin-top: 0;
|
||||
|
||||
.sub.header {
|
||||
padding-left: 52px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.file-revisions-btn {
|
||||
display: block;
|
||||
float: left;
|
||||
margin-bottom: 2px !important;
|
||||
padding: 11px !important;
|
||||
margin-right: 10px !important;
|
||||
|
||||
i {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user