[SSE mobile] Corrected some things
This commit is contained in:
parent
5a090f8210
commit
dd3b5fafe0
|
@ -272,13 +272,13 @@ class SearchView extends Component {
|
|||
</div>
|
||||
<div className="searchbar-inner__center">
|
||||
<div className="searchbar-input-wrap">
|
||||
<input placeholder={_t.textSearch} type="search" value={searchQuery}
|
||||
<input placeholder={_t.textSearch} type="search" maxLength="255" value={searchQuery}
|
||||
onChange={e => {this.changeSearchQuery(e.target.value)}} />
|
||||
{isIos ? <i className="searchbar-icon" /> : null}
|
||||
<span className="input-clear-button" />
|
||||
</div>
|
||||
<div className="searchbar-input-wrap" style={!usereplace ? hidden: null}>
|
||||
<input placeholder={_t.textReplace} type="search" id="idx-replace-val" value={replaceQuery}
|
||||
<input placeholder={_t.textReplace} type="search" maxLength="255" id="idx-replace-val" value={replaceQuery}
|
||||
onChange={e => {this.changeReplaceQuery(e.target.value)}} />
|
||||
{isIos ? <i className="searchbar-icon" /> : null}
|
||||
<span className="input-clear-button" />
|
||||
|
|
|
@ -18,7 +18,7 @@ class EditTextController extends Component {
|
|||
if (isDecrement) {
|
||||
typeof size === 'undefined' ? api.FontSizeOut() : size = Math.max(1, --size);
|
||||
} else {
|
||||
typeof size === 'undefined' ? api.FontSizeIn : size = Math.min(100, ++size);
|
||||
typeof size === 'undefined' ? api.FontSizeIn : size = Math.min(300, ++size);
|
||||
}
|
||||
if (typeof size !== 'undefined') {
|
||||
api.put_TextPrFontSize(size);
|
||||
|
|
|
@ -132,7 +132,7 @@ class EditTextController extends Component {
|
|||
if (isDecrement) {
|
||||
typeof size === 'undefined' ? api.FontSizeOut() : size = Math.max(1, --size);
|
||||
} else {
|
||||
typeof size === 'undefined' ? api.FontSizeIn : size = Math.min(100, ++size);
|
||||
typeof size === 'undefined' ? api.FontSizeIn : size = Math.min(300, ++size);
|
||||
}
|
||||
if (typeof size !== 'undefined') {
|
||||
api.put_TextPrFontSize(size);
|
||||
|
|
|
@ -47,7 +47,7 @@ class EditCellController extends Component {
|
|||
if (isDecrement) {
|
||||
typeof size === 'undefined' ? api.asc_decreaseFontSize() : size = Math.max(1, --size);
|
||||
} else {
|
||||
typeof size === 'undefined' ? api.asc_increaseFontSize() : size = Math.min(100, ++size);
|
||||
typeof size === 'undefined' ? api.asc_increaseFontSize() : size = Math.min(409, ++size);
|
||||
}
|
||||
|
||||
if (typeof size !== 'undefined') {
|
||||
|
|
|
@ -69,7 +69,7 @@ class EditTextController extends Component {
|
|||
if (isDecrement) {
|
||||
typeof size === 'undefined' ? api.asc_decreaseFontSize() : size = Math.max(1, --size);
|
||||
} else {
|
||||
typeof size === 'undefined' ? api.asc_increaseFontSize() : size = Math.min(100, ++size);
|
||||
typeof size === 'undefined' ? api.asc_increaseFontSize() : size = Math.min(409, ++size);
|
||||
}
|
||||
|
||||
if (typeof size !== 'undefined') {
|
||||
|
|
Loading…
Reference in a new issue