[Libreoffice-commits] online.git: loleaflet/css

Pedro Pinto Silva (via logerrit) logerrit at kemper.freedesktop.org
Thu Aug 6 16:00:11 UTC 2020


 loleaflet/css/notebookbar.css |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

New commits:
commit a15bd4fcc6e403bea036e1deceb5b0ea56deb7d3
Author:     Pedro Pinto Silva <pedro.silva at collabora.com>
AuthorDate: Thu Aug 6 17:27:06 2020 +0200
Commit:     Pedro Silva <pedro.silva at collabora.com>
CommitDate: Thu Aug 6 17:59:53 2020 +0200

    Notebookbar: force subitems of unotoolbuttons to be side by side instead of stacked
    
    there were some problems before, particullary with bigtoolitem types
    
    Change-Id: Iee9816977d782221290e641527eb422291768e6a
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100257
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Pedro Silva <pedro.silva at collabora.com>

diff --git a/loleaflet/css/notebookbar.css b/loleaflet/css/notebookbar.css
index 8f0ed9c35..be9dc56ae 100644
--- a/loleaflet/css/notebookbar.css
+++ b/loleaflet/css/notebookbar.css
@@ -288,6 +288,12 @@ div[id*='Row'].notebookbar, div[id*='Column'].notebookbar, #SendToBack.notebookb
 .unotoolbutton.notebookbar {
 	text-align: center;
 }
+.unotoolbutton.notebookbar.has-label > *{ /*so they stay side by side*/
+	display: inline-block;
+}
+.spreadsheet-color-indicator.hasnotebookbar + #toolbar-wrapper #table-Insert .unotoolbutton.notebookbar.has-label > *{ /*except on calc insert, where we want double line*/
+	display: inline;
+}
 
 .unotoolbutton.notebookbar.has-label {
 	text-align: center;
@@ -408,10 +414,10 @@ div[id*='Row'].notebookbar, div[id*='Column'].notebookbar, #SendToBack.notebookb
 }
 
 #table-Insert #InsertTable.notebookbar {
-	width: 130px;
+	width: 142px;
 }
 
-#table-Insert #BasicShapes.notebookbar {
+#table-Insert #BasicShapes.notebookbar{
 	width: 170px;
 }
 
@@ -673,7 +679,7 @@ div[id*='Row'].notebookbar, div[id*='Column'].notebookbar, #SendToBack.notebookb
 /* Insert Tab */
 
 .presentation-color-indicator + #toolbar-wrapper #table-Insert #InsertTable.notebookbar {
-	width: 80px;
+	width: 108px;
 }
 
 #table-Insert #HeaderAndFooter.notebookbar {


More information about the Libreoffice-commits mailing list