summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Oaks <daniel@danieloaks.net>2016-09-01 22:04:25 +1000
committer无闻 <u@gogs.io>2016-09-01 08:04:25 -0400
commit4efaf8e882dad4bffbb84104aec6df25d15b4f87 (patch)
tree7b504f98c181f1488fefcb13ecef70883ede35b1
parent178556142a6d0e299f1713e9a4847454f0f5b178 (diff)
downloadgitea-4efaf8e882dad4bffbb84104aec6df25d15b4f87.tar.gz
gitea-4efaf8e882dad4bffbb84104aec6df25d15b4f87.zip
Fix repo list display on Safari (#3569)
-rw-r--r--public/css/gogs.css4
-rw-r--r--public/less/_dashboard.less4
2 files changed, 8 insertions, 0 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index 5fba7d977e..3832c30f83 100644
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -2741,6 +2741,10 @@ footer .ui.language .menu {
.dashboard.issues .ui.right .head.menu .item.active {
color: #d9453d;
}
+.feeds .news > .ui.grid {
+ margin-left: auto;
+ margin-right: auto;
+}
.feeds .news .ui.avatar {
margin-top: 13px;
}
diff --git a/public/less/_dashboard.less b/public/less/_dashboard.less
index 93348afa16..1a575d183a 100644
--- a/public/less/_dashboard.less
+++ b/public/less/_dashboard.less
@@ -52,6 +52,10 @@
&.feeds {
.news {
+ > .ui.grid {
+ margin-left: auto;
+ margin-right: auto;
+ }
.ui.avatar {
margin-top: 13px;
}