Tweak copy button style

This commit is contained in:
Naoki Takezoe
2017-07-22 15:40:35 +09:00
parent 645d23b531
commit 6a7e948e89
2 changed files with 2 additions and 13 deletions

View File

@@ -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>

View File

@@ -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;