[DE mobile] Fix search and replace.

This commit is contained in:
Alexander Yuzhin 2016-11-16 14:38:19 +03:00
parent df055f1fa5
commit 34d2540d97
4 changed files with 16 additions and 1 deletions

View file

@ -18,7 +18,7 @@
<i class="icon icon-search"></i>
</div>
<div class="item-inner">
<div class="item-title">Search</div>
<div class="item-title">Find</div>
</div>
</div>
</a>

View file

@ -102,6 +102,7 @@ define([
if (isEdit) {
$layour.find('#settings-edit-document').hide();
$layour.find('#settings-readermode').hide();
$layour.find('#settings-search .item-title').text('Find and Replace')
} else {
$layour.find('#settings-readermode input:checkbox')
.attr('checked', Common.SharedSettings.get('readerMode'))

View file

@ -5842,6 +5842,9 @@ html.pixel-ratio-3 .color-palette a {
.tablet .searchbar.document.replace .right .replace {
display: flex;
}
.tablet .searchbar.document.replace .link.replace {
font-size: 16px;
}
.tablet .searchbar.document .center {
width: 100%;
display: flex;
@ -5863,6 +5866,9 @@ html.pixel-ratio-3 .color-palette a {
.phone .searchbar.document.replace {
height: 96px;
}
.phone .searchbar.document.replace .link.replace {
font-size: 16px;
}
.phone .searchbar.document.replace .left {
margin-top: -48px;
}

View file

@ -14,6 +14,10 @@
display: flex;
}
}
.link.replace {
font-size: 16px;
}
}
// Search mode
@ -52,6 +56,10 @@
.searchbar.document.replace {
height: @phoneSearchHeight * 2;
.link.replace {
font-size: 16px;
}
.left {
margin-top: -@phoneSearchHeight;
}