UX: Width & calculation adjustments for main container (#27)
This commit is contained in:
+2
-5
@@ -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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user