0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

style(ui): adjust headline style (#1469)

adjust headline style with max 2 lines
This commit is contained in:
simeng-li 2022-07-08 16:57:21 +08:00 committed by GitHub
parent 8e85a115ec
commit 15aa0b2bfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,6 @@ $logo-height: 60px;
@include _.image-align-center;
}
:global(body.mobile) {
.container {
height: 15vh;
@ -31,10 +30,9 @@ $logo-height: 60px;
}
}
:global(body.desktop) {
.container {
height: 96px;
min-height: 96px;
}
.logo:not(:last-child) {
@ -44,5 +42,12 @@ $logo-height: 60px;
.headline {
font: var(--font-title-small);
color: var(--color-text);
text-align: center;
text-overflow: ellipsis;
/* stylelint-disable-next-line value-no-vendor-prefix */
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
}