UX: Width & calculation adjustments for main container (#27)

This commit is contained in:
Jordan Vidrine
2025-03-07 12:01:26 -06:00
committed by GitHub
parent 3777405f0b
commit 35a4642042
2 changed files with 8 additions and 14 deletions
+2 -5
View File
@@ -17,8 +17,8 @@
}
}
.has-full-page-chat .experimental-screen {
display: none;
.has-full-page-chat .chat-replying-indicator-container {
margin-bottom: var(--d-border-radius-large);
}
.experimental-screen {
@@ -26,9 +26,6 @@
display: none;
}
max-width: unset !important;
.has-full-page-chat & {
display: none;
}
@media screen and (max-width: 488px) {
display: none;
}
+6 -9
View File
@@ -21,7 +21,7 @@ body.has-full-page-chat:not(.has-sidebar-page) {
background-color: var(--background-color);
}
#main-outlet-wrapper {
--main-grid-gap: 0;
gap: var(--main-grid-gap);
.full-page-chat.full-page-chat-sidebar-enabled,
.c-navbar-container {
border-top-right-radius: 0;
@@ -37,6 +37,10 @@ body.has-sidebar-page #main-outlet-wrapper {
}
}
body:not(.has-sidebar-page) #main-outlet-wrapper {
grid-template-columns: 0px 1fr 0px;
}
body:not(.has-full-page-chat) {
@include breakpoint(extra-large, $rule: min-width) {
background-color: var(--background-color);
@@ -57,14 +61,7 @@ body:not(.has-full-page-chat) {
#main-outlet {
width: 100%;
padding-bottom: var(--spacing-block-l);
// height: inherit;
// overflow: scroll;
// &:has(.list-controls) {
// padding-top: 0;
// }
// &:has(#topic-title) {
// padding-top: 0;
// }
max-width: unset;
//thanks to random container elements on the page, I can't do a direct child selector here because it targets all the randomness, so I see no other option than MANUALLY adding every possible element that can appear in the main outlet YAY
.list-controls,
.list-container,