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

New commits:
commit a15bd4fcc6e403bea036e1deceb5b0ea56deb7d3
Author:     Pedro Pinto Silva <pedro.si...@collabora.com>
AuthorDate: Thu Aug 6 17:27:06 2020 +0200
Commit:     Pedro Silva <pedro.si...@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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Pedro Silva <pedro.si...@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 {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to