UX: Mini fixes and tweaks (#179)

* Changing the category & tag dropdown back into their original form.
The breadcrumb idea isn't working well.

| BC | AC |
|--------|--------|
| ![CleanShot 2025-06-09 at 18 59
37@2x](https://github.com/user-attachments/assets/cbeb3aaf-ad0e-4085-8548-58ea0a521c95)
| ![CleanShot 2025-06-09 at 18 57
33@2x](https://github.com/user-attachments/assets/15db752b-4983-4b7f-b6f8-9a8ded9e6f9f)
|

* Alignment fix in chat navbar drawer

| BC | AC |
|--------|--------|
| ![CleanShot 2025-06-09 at 18 59
18@2x](https://github.com/user-attachments/assets/38c7dcee-dc77-4a44-ae8d-5ecb7910536b)
| ![CleanShot 2025-06-09 at 18 58
36@2x](https://github.com/user-attachments/assets/be699f88-4e5e-4d8c-ab4d-f6d1eca93037)
|
This commit is contained in:
chapoi
2025-06-09 19:41:18 +02:00
committed by GitHub
parent bf9fe07f67
commit 14aa72ad99
3 changed files with 13 additions and 5 deletions
+7 -1
View File
@@ -5,7 +5,9 @@
} }
.c-navbar-container { .c-navbar-container {
padding: 0 1.5em; .full-page-chat & {
padding: 0 1.5em;
}
background-color: var(--d-content-background); background-color: var(--d-content-background);
} }
@@ -21,6 +23,10 @@ body.has-full-page-chat {
.chat-drawer.is-expanded & { .chat-drawer.is-expanded & {
border: none; border: none;
} }
.c-navbar__title {
padding-left: 0.33em; // visual alignment for chat index, which does not havea a backarrow
}
} }
.chat-drawer-outlet-container { .chat-drawer-outlet-container {
+5 -3
View File
@@ -34,11 +34,10 @@
@include viewport.until(sm) { @include viewport.until(sm) {
gap: var(--spacing-inline-s); gap: var(--spacing-inline-s);
// don't know why we even hide this crucial navigation on mobile
.category-breadcrumb.hidden, .category-breadcrumb.hidden,
.category-breadcrumb { .category-breadcrumb {
display: flex !important; display: flex !important;
column-gap: var(--spacing-inline-s); column-gap: var(--spacing-inline-m);
row-gap: var(--spacing-block-xs); row-gap: var(--spacing-block-xs);
flex-basis: 100%; flex-basis: 100%;
@@ -49,9 +48,12 @@
); // 2px is width of the outline ); // 2px is width of the outline
} }
.select-kit-header-wrapper {
gap: 0.25em;
}
.select-kit-header { .select-kit-header {
background: var(--d-content-background); background: var(--d-content-background);
border: 0;
} }
} }
+1 -1
View File
@@ -17,7 +17,7 @@
.combo-box .combo-box-header { .combo-box .combo-box-header {
// needs more specificity than just in the button file // needs more specificity than just in the button file
background-color: var(--secondary); background-color: var(--secondary);
border-radius: var(--d-border-radius-large); border-radius: var(--d-border-radius);
border: 1px solid var(--primary-300); border: 1px solid var(--primary-300);
&:hover { &:hover {