(refs #1206)Display find and history icon in mobile view

This commit is contained in:
Naoki Takezoe
2016-09-28 09:58:32 +09:00
parent 11fb0a7edf
commit aefbee2093
2 changed files with 3 additions and 3 deletions

View File

@@ -22,9 +22,9 @@
}, Some(repository)) { }, Some(repository)) {
@gitbucket.core.html.menu("files", repository, Some(branch), info, error){ @gitbucket.core.html.menu("files", repository, Some(branch), info, error){
<div class="head"> <div class="head">
<div class="pull-right pc"> <div class="pull-right">
<div class="btn-group"> <div class="btn-group">
<a href="@helpers.url(repository)/find/@helpers.encodeRefName(branch)" class="btn btn-sm btn-default pc" data-hotkey="t"><i class="octicon octicon-search"></i></a> <a href="@helpers.url(repository)/find/@helpers.encodeRefName(branch)" class="btn btn-sm btn-default" data-hotkey="t"><i class="octicon octicon-search"></i></a>
<a href="@helpers.url(repository)/commits/@helpers.encodeRefName(branch)/@pathList.mkString("/")" class="btn btn-sm btn-default"><i class="octicon octicon-history"></i></a> <a href="@helpers.url(repository)/commits/@helpers.encodeRefName(branch)/@pathList.mkString("/")" class="btn btn-sm btn-default"><i class="octicon octicon-history"></i></a>
</div> </div>
</div> </div>

View File

@@ -1588,7 +1588,7 @@ a.markdown-anchor-link span.octicon {
vertical-align: baseline; vertical-align: baseline;
font-size: 100%; font-size: 100%;
height: inherit; height: inherit;
width: 780px; width: 300px;
} }
.find-input{ .find-input{
font-size: 18px; font-size: 18px;