mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-25 06:24:19 +00:00
🔧 Improve icon centering
This commit is contained in:
parent
2cc4ba56ca
commit
a9403ece2d
1 changed files with 9 additions and 6 deletions
|
@ -12,11 +12,12 @@
|
|||
|
||||
background-color: var(--bg-button-off);
|
||||
color: var(--fg-button-off);
|
||||
font-size: large;
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 10px;
|
||||
gap: 20px;
|
||||
|
||||
font-size: large;
|
||||
|
||||
/* Hackerino per ignorare il padding */
|
||||
width: calc(100% + 10px);
|
||||
|
@ -32,11 +33,13 @@
|
|||
.ButtonIcon {
|
||||
font-size: x-large;
|
||||
|
||||
/* TODO: non so quanto sia una buona idea, ma funziona accettabilmente */
|
||||
line-height: 0;
|
||||
vertical-align: sub;
|
||||
|
||||
/* Hackerino per centrare le icone */
|
||||
position: relative;
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
.ButtonText {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue