UX: Modernize spacing a bit (#145)

This commit is contained in:
Jordan Vidrine
2025-04-17 21:16:43 -05:00
committed by GitHub
parent 07113ca324
commit bf2fb463ae
3 changed files with 12 additions and 9 deletions
+10 -7
View File
@@ -18,20 +18,23 @@
} }
.has-full-page-chat .chat-replying-indicator-container { .has-full-page-chat .chat-replying-indicator-container {
margin-bottom: var(--d-border-radius-large); margin-bottom: var(--main-grid-gap);
@include breakpoint(tablet) { @include breakpoint(medium) {
margin-bottom: 0; margin-bottom: 0;
} }
} }
.has-full-page-chat .chat-selection-management { .has-full-page-chat .chat-selection-management {
margin-bottom: var(--d-border-radius-large); margin-bottom: var(--main-grid-gap);
@include breakpoint(tablet) { @include breakpoint(medium) {
margin-bottom: 0; margin-bottom: 0;
} }
} }
.experimental-screen { .experimental-screen {
@include breakpoint(medium) {
display: none;
}
max-width: unset !important; max-width: unset !important;
width: 100%; width: 100%;
display: block; display: block;
@@ -83,7 +86,7 @@
} }
&__bottom-left { &__bottom-left {
transform: rotate(-90deg); transform: rotate(-90deg);
bottom: var(--d-border-radius-large); bottom: var(--main-grid-gap);
left: var(--left-distance); left: var(--left-distance);
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
bottom: calc(var(--d-border-radius-large) * 2); bottom: calc(var(--d-border-radius-large) * 2);
@@ -91,7 +94,7 @@
} }
&__bottom-right { &__bottom-right {
transform: rotate(180deg); transform: rotate(180deg);
bottom: var(--d-border-radius-large); bottom: var(--main-grid-gap);
left: calc(var(--right-distance) - var(--d-border-radius-large)); left: calc(var(--right-distance) - var(--d-border-radius-large));
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
bottom: calc(var(--d-border-radius-large) * 2); bottom: calc(var(--d-border-radius-large) * 2);
@@ -104,7 +107,7 @@
background-color: var(--background-color); background-color: var(--background-color);
bottom: 0; bottom: 0;
left: var(--left-distance); left: var(--left-distance);
height: var(--d-border-radius-large); height: var(--main-grid-gap);
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
height: calc(var(--d-border-radius-large) * 2); height: calc(var(--d-border-radius-large) * 2);
} }
+1 -1
View File
@@ -2,7 +2,7 @@
box-shadow: none; box-shadow: none;
background: var(--background-color); background: var(--background-color);
@include breakpoint(extra-large, $rule: min-width) { @include breakpoint(extra-large, $rule: min-width) {
padding-bottom: 1em; padding-bottom: var(--main-grid-gap);
} }
} }
+1 -1
View File
@@ -1,5 +1,5 @@
:root { :root {
--main-grid-gap: 2em; --main-grid-gap: 0.5em;
} }
html:not(:has(.has-full-page-chat)) { html:not(:has(.has-full-page-chat)) {