[SSE mobile] 'search' opened under expanded 'celleditor'
This commit is contained in:
parent
93350b3c5d
commit
cc4addb2ff
|
@ -81,10 +81,11 @@ define([
|
||||||
|
|
||||||
expandEditor: function() {
|
expandEditor: function() {
|
||||||
if (this.$el.height() > this.defEditorHeight) {
|
if (this.$el.height() > this.defEditorHeight) {
|
||||||
this.$el.height(this.defEditorHeight);
|
this.$el.height(this.defEditorHeight).removeClass('expanded');
|
||||||
this.$btnexpand.removeClass('collapse');
|
this.$btnexpand.removeClass('collapse');
|
||||||
} else {
|
} else {
|
||||||
this.$el.height(this.maxEditorHeight);
|
out_height = this.maxEditorHeight;
|
||||||
|
this.$el.height(this.maxEditorHeight).addClass('expanded');
|
||||||
this.$btnexpand.addClass('collapse');
|
this.$btnexpand.addClass('collapse');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
@gray-light: #f1f1f1; //rgb(241, 241, 241)
|
@gray-light: #f1f1f1; //rgb(241, 241, 241)
|
||||||
|
|
||||||
@cellEditorHeight: 30px;
|
@cellEditorHeight: 30px;
|
||||||
|
@cellEditorHeightExp: 70px;
|
||||||
|
|
||||||
.border-radius(@radius: 2px) {
|
.border-radius(@radius: 2px) {
|
||||||
border-radius: @radius;
|
border-radius: @radius;
|
||||||
|
|
|
@ -1,8 +1,14 @@
|
||||||
// Search
|
// Search
|
||||||
|
|
||||||
.navbar-through .page > .searchbar {
|
.navbar-through .page {
|
||||||
|
& > .searchbar {
|
||||||
top: @toolbarSize + @cellEditorHeight;
|
top: @toolbarSize + @cellEditorHeight;
|
||||||
//position: relative;
|
//position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
#cell-editing-box.expanded + .searchbar {
|
||||||
|
top: @toolbarSize + @cellEditorHeightExp;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.tablet {
|
.tablet {
|
||||||
|
|
Loading…
Reference in a new issue