From 4e8a1bf9c927c6619926f09883dbb98af58587f8 Mon Sep 17 00:00:00 2001 From: FuXiaoHei Date: Wed, 21 May 2014 20:03:45 +0800 Subject: [PATCH] fix firefox zclip bug --- public/css/gogs.css | 8 ++++++++ templates/repo/single_bare.tmpl | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/public/css/gogs.css b/public/css/gogs.css index e3d423a3d..e84f31d01 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -817,6 +817,10 @@ html, body { margin-bottom: 15px; } +#repo-clone .zclip { + left: auto !important; +} + /* #source */ #source, #commits { margin-top: -20px; @@ -1085,6 +1089,10 @@ html, body { margin-top: 4px; } +.guide-box .zclip { + left: auto !important; +} + .diff-head-box h4 { margin-top: 0; margin-bottom: 0; diff --git a/templates/repo/single_bare.tmpl b/templates/repo/single_bare.tmpl index fc0a3bd96..f2b195617 100644 --- a/templates/repo/single_bare.tmpl +++ b/templates/repo/single_bare.tmpl @@ -16,7 +16,7 @@ - +