Sainan 9e7baf3239
All checks were successful
Build / build (pull_request) Successful in 58s
prettier
2025-06-29 21:20:42 +02:00

52 lines
1.1 KiB
CSS

@media (min-width: 992px) {
body.logged-in #main-view {
display: flex;
}
body.logged-in #sidebar {
position: fixed;
}
body.logged-in #main-content {
margin-left: 7rem;
}
body.logged-in:has([data-lang="de"].active) #main-content {
margin-left: 8rem;
}
body.logged-in:has([data-lang="zh"].active) #main-content {
margin-left: 6rem;
}
body:not(.logged-in) #sidebar {
display: none;
}
}
body:not(.logged-in) .user-dropdown {
display: none;
}
td.text-end > a > svg {
fill: currentColor;
height: 1em;
margin-left: 0.5em;
margin-bottom: 4px; /* to centre the icon */
}
/* if an item name is super long, ensure it doesn't prevent the user from using actions */
.card-body {
overflow: auto;
}
/* fixes for navbar on small resolutions due to not being navbar-expand */
.navbar.sticky-top .navbar-nav {
flex-direction: row;
}
.dropdown-toggle {
padding-right: var(--bs-navbar-nav-link-padding-x);
padding-left: var(--bs-navbar-nav-link-padding-x);
}