Commit 41fa1d0c authored by Mikolaï Krol's avatar Mikolaï Krol

erp5_jexcel_editor: moved tab links at bottom, removed (temporarly?) search bar

parent e89b4a61
...@@ -35,3 +35,13 @@ td { ...@@ -35,3 +35,13 @@ td {
input.readonly { input.readonly {
cursor: not-allowed; cursor: not-allowed;
} }
body > div.spreadsheet.jexcel_tabs > div:nth-child(1) {
position : absolute;
bottom: 0;
}
.jexcel_tab.jexcel_container.fullscreen.with-toolbar {
position: absolute;
top: 0;
}
...@@ -37,11 +37,11 @@ ...@@ -37,11 +37,11 @@
allowRenameColumn: true, allowRenameColumn: true,
allowComments: true, allowComments: true,
selectionCopy: true, selectionCopy: true,
search: true, search: false,
fullscreen: true, fullscreen: true,
autoIncrement: true, autoIncrement: true,
parseFormulas: true, parseFormulas: true,
wordWrap: true wordWrap: true,
}; };
var undo = { var undo = {
......
...@@ -124,8 +124,8 @@ ...@@ -124,8 +124,8 @@
.declareMethod("setupTable", function (element) { .declareMethod("setupTable", function (element) {
var gadget = this; var gadget = this;
var filter = element.querySelector(".jexcel_filter"); //var filter = element.querySelector(".jexcel_filter");
element.querySelector(".jexcel_toolbar").appendChild(filter); //element.querySelector(".jexcel_toolbar").appendChild(filter);
element.querySelector("select.jexcel_toolbar_item").classList.add("minimize"); element.querySelector("select.jexcel_toolbar_item").classList.add("minimize");
var formula_div = document.createElement("div"); var formula_div = document.createElement("div");
formula_div.classList.add("jexcel_formula"); formula_div.classList.add("jexcel_formula");
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
padding-right:2px; padding-right:2px;
box-sizing: border-box; box-sizing: border-box;
overscroll-behavior: contain; overscroll-behavior: contain;
padding-bottom: 40px; padding-bottom: 33px;
} }
.jexcel_container.fullscreen { .jexcel_container.fullscreen {
...@@ -66,10 +66,10 @@ ...@@ -66,10 +66,10 @@
background-color: #fff; background-color: #fff;
width: 0; width: 0;
border-top: 1px solid transparent; /*border-top: 1px solid transparent;
border-left: 1px solid transparent; border-left: 1px solid transparent;
border-right: 1px solid #ccc; border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;*/
} }
.jexcel > thead > tr > td .jexcel > thead > tr > td
......
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