Commit cc4addb2 authored by Maxim Kadushkin's avatar Maxim Kadushkin

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

parent 93350b3c
...@@ -81,10 +81,11 @@ define([ ...@@ -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 @@ ...@@ -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;
......
// 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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment