mirror of
https://github.com/flarum/core.git
synced 2025-07-20 08:11:27 +02:00
fix: titles positioned wrongly with custom header height (#3550)
This commit is contained in:
@@ -82,6 +82,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.App-titleControl {
|
.App-titleControl {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
@@ -89,7 +90,8 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
color: var(--header-color) !important;
|
color: var(--header-color) !important;
|
||||||
|
|
||||||
&, > .Button {
|
&,
|
||||||
|
> .Button {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
> .Button {
|
> .Button {
|
||||||
@@ -98,14 +100,16 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
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 {
|
.App-backControl {
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user