mirror of
https://github.com/nextcloud/server.git
synced 2024-08-07 03:07:59 +02:00
Fix popover icon size
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
c152f80b93
commit
22458465da
@ -841,20 +841,23 @@ kbd {
|
||||
/* Override the app-navigation li opacity */
|
||||
opacity: .7 !important;
|
||||
[class^='icon-'],
|
||||
[class*=' icon-'],
|
||||
&[class^='icon-'],
|
||||
&[class*=' icon-'] {
|
||||
min-width: 0; /* Overwrite icons*/
|
||||
min-height: 0;
|
||||
background-position: 10px center;
|
||||
background-size: 16px;
|
||||
}
|
||||
[class^='icon-'],
|
||||
[class*=' icon-'] {
|
||||
/* Keep padding to define the width to
|
||||
assure correct position of a possible text */
|
||||
padding: 18px 0 18px 36px;
|
||||
min-width: 0; /* Overwrite icons*/
|
||||
min-height: 0;
|
||||
background-position: 10px center;
|
||||
}
|
||||
&[class^='icon-'],
|
||||
&[class*=' icon-'] {
|
||||
padding: 0 10px 0 36px !important;
|
||||
min-width: 0; /* Overwrite icons*/
|
||||
min-height: 0;
|
||||
background-position: 10px center;
|
||||
}
|
||||
&:hover, &:focus, &.active {
|
||||
opacity: 1 !important;
|
||||
|
Loading…
Reference in New Issue
Block a user