mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-05-07 02:07:05 +02:00
Tweak copy button style
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
<div class="input-group" style="margin-bottom: 0px;">
|
||||
@html
|
||||
<span class="input-group-btn">
|
||||
<span id="@copyButtonId" class="btn btn-default" @if(style.nonEmpty){style="@style"}
|
||||
<span id="@copyButtonId" class="btn btn-sm btn-default" @if(style.nonEmpty){style="@style"}
|
||||
data-clipboard-text="@value" data-placement="bottom" title="copy to clipboard"><i class="octicon octicon-clippy"></i></span>
|
||||
</span>
|
||||
</div>
|
||||
} else {
|
||||
<span id="@copyButtonId" class="btn btn-default" @if(style.nonEmpty){style="@style"}
|
||||
<span id="@copyButtonId" class="btn btn-sm btn-default" @if(style.nonEmpty){style="@style"}
|
||||
data-clipboard-text="@value" data-placement="bottom" title="copy to clipboard"><i class="octicon octicon-clippy"></i></span>
|
||||
}
|
||||
<script>
|
||||
|
||||
@@ -564,17 +564,6 @@ pre.commit-description {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
#repository-url-copy {
|
||||
/*height: 18px;*/
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
#repository-url-copy > i {
|
||||
margin-left: -4px;
|
||||
margin-right: -4px;
|
||||
}
|
||||
|
||||
|
||||
ul#commit-file-list {
|
||||
list-style-type: none;
|
||||
padding-left: 0px;
|
||||
|
||||
Reference in New Issue
Block a user