From 4da29f64227098fcbea3f01c7d701bdfd2aae049 Mon Sep 17 00:00:00 2001 From: Pedro Pinto Silva Date: Tue, 14 Jan 2020 14:31:03 +0100 Subject: [PATCH] Mobile: Spreadsheet: Readonly mode: Adjust top positions from frame and document - account for moz vs webkit intricacies - account for newest spreadsheet formula implementation Change-Id: If5ae4159bf5b5cea82771b085f8e7e90f97e0804 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86760 Reviewed-by: Pedro Pinto da Silva Tested-by: Pedro Pinto da Silva --- loleaflet/css/spreadsheet-mobile.css | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/loleaflet/css/spreadsheet-mobile.css b/loleaflet/css/spreadsheet-mobile.css index eef8baeac..83b1e5f59 100644 --- a/loleaflet/css/spreadsheet-mobile.css +++ b/loleaflet/css/spreadsheet-mobile.css @@ -2,10 +2,10 @@ @-moz-document url-prefix() { #spreadsheet-row-column-frame.readonly { - top: 39px !important; + top: 36px !important; } #document-container.spreadsheet-document.readonly { - top: 59px !important; + top: 56px !important; } #spreadsheet-row-column-frame { top: 75px !important @@ -22,15 +22,17 @@ bottom: 0; } + #spreadsheet-row-column-frame.readonly { + top: 37px !important; + } + #document-container.spreadsheet-document.readonly { + top: 57px !important; + } #spreadsheet-row-column-frame { top: 73px; bottom: 36px; } - #spreadsheet-row-column-frame.readonly { - top: 30px; - } - .spreadsheet-tab{ background-color: #eaf5ff; color: #4c4c4c;