From 8f97c508696e568095c4c17dfb02d88a12aeed31 Mon Sep 17 00:00:00 2001 From: Pedro Pinto Silva Date: Wed, 31 Jan 2024 12:44:08 +0100 Subject: [PATCH] Calc: sidebar: Hide Styles dialog button This button does nothing (Sidebar: Style: dialog button [square with arrow]) - There is no paragraph style dialog in calc - The style sidebar pane visible on core side is not implemented in online Better to hide it for now. Fixes https://github.com/CollaboraOnline/online/issues/8135 Signed-off-by: Pedro Pinto Silva Change-Id: I62db3ec6466782a9dc2cb89deffec8023851de2d --- browser/css/spreadsheet.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/browser/css/spreadsheet.css b/browser/css/spreadsheet.css index 295cc4942..6cfb0865d 100644 --- a/browser/css/spreadsheet.css +++ b/browser/css/spreadsheet.css @@ -220,3 +220,11 @@ #toolbar-wrapper.spreadsheet.tablet.readonly { z-index: -1; } + +/* Sidebar: Style: Hide dialog button + - There is no paragraph style dialog in calc + - The style sidebar pane visible on core side is not implemented in online +*/ +.spreadsheet ~ #main-document-content #sidebar-dock-wrapper .unoEditStyle.sidebar { + display: none; +}