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:
parent
8e85a115ec
commit
15aa0b2bfb
1 changed files with 8 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue