summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2020-02-26 21:45:26 +0100
committerAndras Timar <andras.timar@collabora.com>2020-02-26 22:10:10 +0100
commit8ae6c2f84e5967c5af55d9078f9e67764c7c56e9 (patch)
tree50cc585c9a1ba623d13fda80607a178236184e2c
parent19190f539e10358dd7584e34438d8d11f9ec2498 (diff)
Revert "leaflet-CSS: Increased the sheet tab height"cp-4.2.0-5CP-Android-4.2.0
This makes the '+' for adding new sheets out of place, row header leaking into the sheet tab where the '+' is located. This reverts commit 38b4f579b42545fdc6861013319658ca792d5d5a. Change-Id: Ia3b7898a632a7d02fa8aaa13519185297082ff1f Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89601 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r--loleaflet/css/loleaflet.css2
-rw-r--r--loleaflet/css/spreadsheet-mobile.css10
-rw-r--r--loleaflet/css/spreadsheet.css12
3 files changed, 10 insertions, 14 deletions
diff --git a/loleaflet/css/loleaflet.css b/loleaflet/css/loleaflet.css
index 1deeb8ad2..512d747a6 100644
--- a/loleaflet/css/loleaflet.css
+++ b/loleaflet/css/loleaflet.css
@@ -254,7 +254,7 @@ body {
#document-container.readonly.spreadsheet-document {
top: 61px !important;
- bottom: 42px;
+ bottom: 35px;
}
#document-container.parts-preview-document {
diff --git a/loleaflet/css/spreadsheet-mobile.css b/loleaflet/css/spreadsheet-mobile.css
index f9ddc4755..b1cfae4fd 100644
--- a/loleaflet/css/spreadsheet-mobile.css
+++ b/loleaflet/css/spreadsheet-mobile.css
@@ -38,7 +38,7 @@
border-radius: 3px;
border-color: #fbfbfb;
padding-top: 2px;
- padding-bottom: 6px;
+ padding-bottom: 2px;
margin-top: 4px;
}
@@ -49,7 +49,7 @@
border-top-right-radius: 0px;
margin-top: 2px;
padding-top: 5px;
- padding-bottom: 7px;
+ padding-bottom: 3px;
}
.spreadsheet-tabs-container {
@@ -70,11 +70,7 @@
#spreadsheet-toolbar{
background-color: #fbfbfb;
border-top: 1px solid #eceff4;
- height: 40px;
- padding-top: 6px;
- padding-left: 0px;
- padding-bottom: 0px;
- padding-right: 0px;
+ height: 33px;
}
#spreadsheet-toolbar .w2ui-tb-image{
padding-top: 0px !important;
diff --git a/loleaflet/css/spreadsheet.css b/loleaflet/css/spreadsheet.css
index 35b8863a7..542d99a57 100644
--- a/loleaflet/css/spreadsheet.css
+++ b/loleaflet/css/spreadsheet.css
@@ -2,7 +2,7 @@
border-top: 1px solid #B6B6B6;
top: 137px;
left: 50px;
- bottom: 75px;
+ bottom: 68px;
}
#document-container.spreadsheet-document.readonly {
@@ -24,7 +24,7 @@
bottom: 33px;
position: absolute;
cursor: pointer;
- height: 39px;
+ height: 32px;
overflow: hidden;
white-space: nowrap;
@@ -46,8 +46,8 @@
margin-right: 3px;
padding-left: 9px;
padding-right: 9px;
- padding-top: 10px;
- padding-bottom: 5px;
+ padding-top: 3px;
+ padding-bottom: 3px;
font: 12px/1.5 "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
display: inline-block;
@@ -60,7 +60,7 @@
background: white !important;
color: black !important;
margin-top: 0px;
- padding-top: 12px;
+ padding-top: 6px;
border: 1px solid #dfdfdf;
border-top: 0px;
}
@@ -202,7 +202,7 @@
.spreadsheet-header-row-resize {
cursor: row-resize;
}
-
+
.spreadsheet-cell-resize-marker {
margin-left: 0px;
margin-top: 0px;