summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorCherrg <michael@gnehr.de>2019-07-11 16:45:10 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2019-07-11 22:45:10 +0800
commita7b1ba0e3d49e699ce7d6e614bc8605aef0a2c9a (patch)
treef182ede1617c092badb4feff1c5b2e3edcf70352 /public
parenta0820e09fbf78f84722b44563b5f44a92a8a5a0e (diff)
downloadgitea-a7b1ba0e3d49e699ce7d6e614bc8605aef0a2c9a.tar.gz
gitea-a7b1ba0e3d49e699ce7d6e614bc8605aef0a2c9a.zip
wiki history improvements (#7391)
* add history comments to detect page delete Signed-off-by: Michael Gnehr <michael@gnehr.de> * fix too much history entries - caused by --follow flag - if files with same contents exists Signed-off-by: Michael Gnehr <michael@gnehr.de> * style imprevements wiki - history - wrap long author names Signed-off-by: Michael Gnehr <michael@gnehr.de>
Diffstat (limited to 'public')
-rw-r--r--public/css/index.css2
-rw-r--r--public/less/_markdown.less1
2 files changed, 2 insertions, 1 deletions
diff --git a/public/css/index.css b/public/css/index.css
index b948766b41..a260c8c706 100644
--- a/public/css/index.css
+++ b/public/css/index.css
@@ -292,7 +292,7 @@ footer .ui.left,footer .ui.right{line-height:40px}
.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}
+.repository.wiki.revisions .ui.container>.ui.stackable.grid>.header .sub.header{padding-left:52px;word-break:break-word}
.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}
diff --git a/public/less/_markdown.less b/public/less/_markdown.less
index 1dcc2caf94..8c7b1125c9 100644
--- a/public/less/_markdown.less
+++ b/public/less/_markdown.less
@@ -505,6 +505,7 @@
.sub.header {
padding-left: 52px;
+ word-break: break-word;
}
}
}