[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> <i class="icon icon-search"></i>
</div> </div>
<div class="item-inner"> <div class="item-inner">
<div class="item-title">Search</div> <div class="item-title">Find</div>
</div> </div>
</div> </div>
</a> </a>

View file

@ -102,6 +102,7 @@ define([
if (isEdit) { if (isEdit) {
$layour.find('#settings-edit-document').hide(); $layour.find('#settings-edit-document').hide();
$layour.find('#settings-readermode').hide(); $layour.find('#settings-readermode').hide();
$layour.find('#settings-search .item-title').text('Find and Replace')
} else { } else {
$layour.find('#settings-readermode input:checkbox') $layour.find('#settings-readermode input:checkbox')
.attr('checked', Common.SharedSettings.get('readerMode')) .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 { .tablet .searchbar.document.replace .right .replace {
display: flex; display: flex;
} }
.tablet .searchbar.document.replace .link.replace {
font-size: 16px;
}
.tablet .searchbar.document .center { .tablet .searchbar.document .center {
width: 100%; width: 100%;
display: flex; display: flex;
@ -5863,6 +5866,9 @@ html.pixel-ratio-3 .color-palette a {
.phone .searchbar.document.replace { .phone .searchbar.document.replace {
height: 96px; height: 96px;
} }
.phone .searchbar.document.replace .link.replace {
font-size: 16px;
}
.phone .searchbar.document.replace .left { .phone .searchbar.document.replace .left {
margin-top: -48px; margin-top: -48px;
} }

View file

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