fix: titles positioned wrongly with custom header height (#3550)

This commit is contained in:
David Wheatley 2022-07-21 11:47:37 +01:00 committed by GitHub
parent e9fec9b22f
commit 7cafd9f51a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,7 @@
}
}
}
.App-titleControl {
width: 200px;
left: 50%;
@ -89,7 +90,8 @@
text-align: center;
color: var(--header-color) !important;
&, > .Button {
&,
> .Button {
font-size: 16px;
}
> .Button {
@ -98,14 +100,16 @@
overflow: hidden;
text-overflow: ellipsis;
}
&--text {
line-height: var(--header-height-phone);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-weight: normal;
}
}
.App-titleControl--text {
line-height: 46px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-weight: normal;
}
.App-backControl {
left: 0;