diff --git a/browser/css/jsdialogs.css b/browser/css/jsdialogs.css index 56e74a1ad..6893cdb8d 100644 --- a/browser/css/jsdialogs.css +++ b/browser/css/jsdialogs.css @@ -1846,10 +1846,21 @@ input[type='number']:hover::-webkit-outer-spin-button { border-radius: var(--border-radius) 0 var(--border-radius) var(--border-radius) !important; } -#formulabar-buttons-toolbox.formulabar { +#formulabar-buttons-toolbox.formulabar.toolbox { display: grid; grid-auto-flow: column; - height: min-content; + align-items: center; + grid-column-gap: 4px; + grid-template-columns: repeat(3, 30px); +} + +#formulabar-buttons-toolbox * { + align-items: center; + justify-content: center; +} + +.unotoolbutton.formulabar { + display: flex; } .formulabar.unotoolbutton { diff --git a/browser/css/spreadsheet.css b/browser/css/spreadsheet.css index f0b49240e..0cfe17c1c 100644 --- a/browser/css/spreadsheet.css +++ b/browser/css/spreadsheet.css @@ -233,8 +233,6 @@ #AutoSumMenu { /* Make sure it matches buttons height*/ grid-template-rows: var(--btn-size); - /* Account for the arrow match width */ - width: calc(var(--btn-size)*2); } #formulabar.expanded > .root-container > .formulabar {