mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 05:23:49 +08:00
ab326d10d8
When reaching the top of a thread, the full thread title will be displayed if it was too long to fit. It works in mobile, drawer mode, and fullscreen. --------- Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
35 lines
616 B
SCSS
35 lines
616 B
SCSS
.c-navbar {
|
|
gap: 0.75rem;
|
|
&-container {
|
|
max-width: 100vw;
|
|
padding-inline: 0.25rem;
|
|
}
|
|
&__actions {
|
|
margin-right: 0.5rem;
|
|
}
|
|
&__back-button {
|
|
align-self: stretch;
|
|
}
|
|
&.-full-title {
|
|
.c-navbar {
|
|
&__actions,
|
|
&__back-button {
|
|
height: calc(var(--chat-header-offset) - 2px) !important;
|
|
}
|
|
&__title {
|
|
padding-block: calc(1rem + 2px);
|
|
}
|
|
}
|
|
left: 0.25rem;
|
|
width: calc(100% - 0.5rem);
|
|
}
|
|
|
|
.c-navbar__title {
|
|
.c-routes-direct-messages &,
|
|
.c-routes-channels &,
|
|
.c-routes-threads & {
|
|
padding-left: 1.25rem;
|
|
}
|
|
}
|
|
}
|