mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-20 17:13:49 +00:00
fix(console): keep topbar tools clear of very narrow headings
Below 360px, place the full-width heading beneath the breadcrumb and utility row so the three top-right buttons cannot overlap it.
This commit is contained in:
1 parent
ce4be66bac
commit
c5cd58e151
1 file changed
+28
@@ -1274,4 +1274,32 @@ async function onDeleteGroup(group: Group): Promise<void> {
|
||||
width: min(100% - 1.25rem, 1240px);
|
||||
}
|
||||
}
|
||||
@media (max-width: 360px) {
|
||||
/* Too narrow to share a row with the tools: the breadcrumb sits beside
|
||||
them and the title takes the full width below. */
|
||||
.console-topbar {
|
||||
row-gap: 0.3rem;
|
||||
}
|
||||
.console-heading {
|
||||
display: contents;
|
||||
}
|
||||
.console-kicker {
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
align-self: center;
|
||||
}
|
||||
.console-topbar h1 {
|
||||
grid-column: 1 / -1;
|
||||
grid-row: 2;
|
||||
margin: 0;
|
||||
}
|
||||
.console-utilities {
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
}
|
||||
.console-actions {
|
||||
grid-row: 3;
|
||||
margin-top: 0.45rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user