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:
parent
df7c38c443
commit
80c7ffe541
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue