mirror of
https://github.com/flarum/framework.git
synced 2025-02-20 22:30:41 +08:00
fix: titles positioned wrongly with custom header height (#3550)
This commit is contained in:
parent
e9fec9b22f
commit
7cafd9f51a
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user