JS Sidebar: Fix hover state and faulty margin

Adds margin to toolbutton and not its child:
- A margin was being added to the img element which in turn
was being visible when hovering it

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I9e668260a53d7239c00b8786803245f30ea7f83b
This commit is contained in:
Pedro Pinto Silva 2021-07-21 14:15:38 +02:00 committed by pedropintosilva
parent df7c38c443
commit 80c7ffe541

View file

@ -8,9 +8,9 @@
}
.sidebar .ui-content .unobutton {
margin: 0px;
width: 24px;
height: 24px;
margin-right: 5px;
vertical-align: middle;
}
@ -89,6 +89,7 @@ td.jsdialog .jsdialog.cell.sidebar {
.sidebar #resetattr,
.sidebar #FormatPaintbrush{
border: 1px solid transparent;
margin-right: 5px;
}
.sidebar.unotoolbutton:hover,
.sidebar #resetattr:hover,