editor: smaller icons

This commit is contained in:
Lephe 2022-04-27 19:18:29 +01:00
parent 4eac09f304
commit d1893bb012
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
2 changed files with 7 additions and 5 deletions

View File

@ -9,14 +9,15 @@
.editor .btn-group button {
width: 32px;
height: 32px;
padding: 4px;
padding: 6px;
background-color: var(--background);
}
.editor .btn-group button:hover {
background: var(--background-hover);
}
.editor .btn-group button > svg {
width: 25px;
width: 20px;
height: 20px;
}
.editor .btn-group button > svg > path,
.editor .btn-group button > svg > rect {

View File

@ -12,8 +12,8 @@
button {
width: 32px;
height: 32px;
/* This centers the 24x24 SVG in the button */
padding: 4px;
/* This centers the 20x20 SVG in the button */
padding: 6px;
background-color: var(--background);
&:hover {
@ -21,7 +21,8 @@
}
& > svg {
width: 25px;
width: 20px;
height: 20px;
& > path, & > rect {
fill: var(--icons);