[SSE mobile] 'search' opened under expanded 'celleditor'

This commit is contained in:
Maxim Kadushkin 2016-12-05 19:44:34 +03:00
parent 93350b3c5d
commit cc4addb2ff
3 changed files with 13 additions and 5 deletions

View file

@ -81,10 +81,11 @@ define([
expandEditor: function() {
if (this.$el.height() > this.defEditorHeight) {
this.$el.height(this.defEditorHeight);
this.$el.height(this.defEditorHeight).removeClass('expanded');
this.$btnexpand.removeClass('collapse');
} else {
this.$el.height(this.maxEditorHeight);
out_height = this.maxEditorHeight;
this.$el.height(this.maxEditorHeight).addClass('expanded');
this.$btnexpand.addClass('collapse');
}

View file

@ -3,6 +3,7 @@
@gray-light: #f1f1f1; //rgb(241, 241, 241)
@cellEditorHeight: 30px;
@cellEditorHeightExp: 70px;
.border-radius(@radius: 2px) {
border-radius: @radius;

View file

@ -1,8 +1,14 @@
// Search
.navbar-through .page > .searchbar {
.navbar-through .page {
& > .searchbar {
top: @toolbarSize + @cellEditorHeight;
//position: relative;
}
#cell-editing-box.expanded + .searchbar {
top: @toolbarSize + @cellEditorHeightExp;
}
}
.tablet {