diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-05-21 20:03:45 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-05-21 20:03:45 +0800 |
commit | 4e8a1bf9c927c6619926f09883dbb98af58587f8 (patch) | |
tree | 489bedcae173fffdb259526e27ef2997dc16955f | |
parent | c82807a713b1c69f7781b0c6b8079d9df5e174c2 (diff) | |
download | gitea-4e8a1bf9c927c6619926f09883dbb98af58587f8.tar.gz gitea-4e8a1bf9c927c6619926f09883dbb98af58587f8.zip |
fix firefox zclip bug
-rwxr-xr-x | public/css/gogs.css | 8 | ||||
-rw-r--r-- | templates/repo/single_bare.tmpl | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index e3d423a3dc..e84f31d012 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 fc0a3bd96c..f2b195617c 100644 --- a/templates/repo/single_bare.tmpl +++ b/templates/repo/single_bare.tmpl @@ -16,7 +16,7 @@ <button class="btn btn-default" data-link="{{.CloneLink.HTTPS}}" type="button">HTTPS</button> </span> <input type="text" class="form-control clone-group-url" id="guide-clone-url" value="" readonly/> - <span class="input-group-btn"> + <span class="input-group-btn" style="position: relative"> <button class="btn btn-default" type="button" data-toggle="tooltip" title="copy to clipboard" data-placement="top" data-init="copy" data-copy-val="val" data-copy-from="#guide-clone-url"><i class="fa fa-copy"></i></button> </span> </div> |