From 4efaf8e882dad4bffbb84104aec6df25d15b4f87 Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Thu, 1 Sep 2016 22:04:25 +1000 Subject: [PATCH] Fix repo list display on Safari (#3569) --- public/css/gogs.css | 4 ++++ public/less/_dashboard.less | 4 ++++ 2 files changed, 8 insertions(+) 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; }