Browse Source

fix firefox zclip bug

for-closed-social
FuXiaoHei 10 years ago
parent
commit
4e8a1bf9c9
2 changed files with 9 additions and 1 deletions
  1. +8
    -0
      public/css/gogs.css
  2. +1
    -1
      templates/repo/single_bare.tmpl

+ 8
- 0
public/css/gogs.css View File

@ -817,6 +817,10 @@ html, body {
margin-bottom: 15px; margin-bottom: 15px;
} }
#repo-clone .zclip {
left: auto !important;
}
/* #source */ /* #source */
#source, #commits { #source, #commits {
margin-top: -20px; margin-top: -20px;
@ -1085,6 +1089,10 @@ html, body {
margin-top: 4px; margin-top: 4px;
} }
.guide-box .zclip {
left: auto !important;
}
.diff-head-box h4 { .diff-head-box h4 {
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;

+ 1
- 1
templates/repo/single_bare.tmpl View File

@ -16,7 +16,7 @@
<button class="btn btn-default" data-link="{{.CloneLink.HTTPS}}" type="button">HTTPS</button> <button class="btn btn-default" data-link="{{.CloneLink.HTTPS}}" type="button">HTTPS</button>
</span> </span>
<input type="text" class="form-control clone-group-url" id="guide-clone-url" value="" readonly/> <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> <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> </span>
</div> </div>

Loading…
Cancel
Save