0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-17 22:04:19 -05:00

style(ui): fix social button text cut-off (#3240)

This commit is contained in:
simeng-li 2023-02-28 13:55:08 +08:00 committed by GitHub
parent cc4c4dcaa5
commit 023eee200e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View file

@ -21,6 +21,7 @@
span {
@include _.multi-line-ellipsis(2);
line-height: _.unit(5);
}
.placeHolder {
@ -31,3 +32,9 @@
}
}
}
:global(body.desktop) {
.name span {
line-height: _.unit(4);
}
}

View file

@ -8,7 +8,6 @@
border-radius: var(--radius);
cursor: pointer;
font: var(--font-label-1);
line-height: 16px;
-webkit-appearance: none;
-webkit-tap-highlight-color: transparent;
transition: background 0.2s ease-in-out;
@ -60,7 +59,6 @@
:global(body.desktop) {
.button {
font: var(--font-label-2);
line-height: 14px;
}
.primary {