mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -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;
|
@include _.image-align-center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
:global(body.mobile) {
|
:global(body.mobile) {
|
||||||
.container {
|
.container {
|
||||||
height: 15vh;
|
height: 15vh;
|
||||||
|
@ -31,10 +30,9 @@ $logo-height: 60px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
:global(body.desktop) {
|
:global(body.desktop) {
|
||||||
.container {
|
.container {
|
||||||
height: 96px;
|
min-height: 96px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo:not(:last-child) {
|
.logo:not(:last-child) {
|
||||||
|
@ -44,5 +42,12 @@ $logo-height: 60px;
|
||||||
.headline {
|
.headline {
|
||||||
font: var(--font-title-small);
|
font: var(--font-title-small);
|
||||||
color: var(--color-text);
|
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