Skip to content

Commit

Permalink
fix(chat-bubbles): Decrease spacing between chat bubbles (#82)
Browse files Browse the repository at this point in the history
- Removed my margin-bottom from chat bubbles to decrease spacing
- Ensured a more compact and visually appealing layout

Changes summary:
    - Decreased the spacing between chat bubbles by removing the margin-bottom, resulting in a more compact layout.
  • Loading branch information
itsmartashub committed Dec 8, 2024
1 parent 9495a20 commit f46479b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sass/abstract/_vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
/* ? --- Margins --- */
--mt-chat-txt: 0.5rem;
--mb-chat-txt: 1rem;
--mb-chat-bubble: 2rem;
// --mb-chat-bubble: 2rem;
--mb-sidebar-nav-li: 0.2rem;
--my-pre: 1.5rem;

Expand Down
2 changes: 1 addition & 1 deletion src/sass/elements/_right--main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ main [role='presentation'] {
[data-testid^='conversation-turn-'] {
/* Edit icon in user chat for example. Edit state user chat bg */
--main-surface-tertiary: var(--c-surface-3) !important;
margin-bottom: var(--mb-chat-bubble) !important;
// margin-bottom: var(--mb-chat-bubble) !important;

div[data-message-author-role],
.prose {
Expand Down

0 comments on commit f46479b

Please sign in to comment.