1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-28 23:44:19 +00:00

🔧 Improve icon centering

This commit is contained in:
Stefano Pigozzi 2021-04-21 16:04:00 +02:00
parent 2cc4ba56ca
commit a9403ece2d
Signed by untrusted user who does not match committer: steffo
GPG key ID: 6965406171929D01

View file

@ -12,11 +12,12 @@
background-color: var(--bg-button-off); background-color: var(--bg-button-off);
color: var(--fg-button-off); color: var(--fg-button-off);
font-size: large;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
gap: 10px; gap: 20px;
font-size: large;
/* Hackerino per ignorare il padding */ /* Hackerino per ignorare il padding */
width: calc(100% + 10px); width: calc(100% + 10px);
@ -32,11 +33,13 @@
.ButtonIcon { .ButtonIcon {
font-size: x-large; font-size: x-large;
/* TODO: non so quanto sia una buona idea, ma funziona accettabilmente */
line-height: 0; line-height: 0;
vertical-align: sub;
/* Hackerino per centrare le icone */
position: relative;
top: 2px;
} }
.ButtonText { .ButtonText {
text-align: center;
} }