diff options
author | Cherrg <michael@gnehr.de> | 2019-07-08 10:20:22 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-07-08 11:20:22 +0300 |
commit | e5b247ea8e77689bb14e5f304ada36f9326f0904 (patch) | |
tree | 90426d29833e24eaa5c04ff2b09bd06f5175049f /public/less | |
parent | d7211c5b5d90a3e6bc9c1550e2c0bf7d0d9ad66f (diff) | |
download | gitea-e5b247ea8e77689bb14e5f304ada36f9326f0904.tar.gz gitea-e5b247ea8e77689bb14e5f304ada36f9326f0904.zip |
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>
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_markdown.less | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/public/less/_markdown.less b/public/less/_markdown.less index e971248f6f..1dcc2caf94 100644 --- a/public/less/_markdown.less +++ b/public/less/_markdown.less @@ -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; + } +} |