Skip to content

Commit

Permalink
refactor(gpth-settings/fonts): code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmartashub committed Sep 25, 2024
1 parent 5006015 commit ea00fbf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/sass/abstract/_vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
--fontFamily: var(--fontFamilyDefault);
--fontSize: inherit;
--letterSpacing: none;
// --lineHeight: calc(28px / 16px);
--lineHeight: 28;

/* ? --- Widths and Heights --- */
Expand Down
6 changes: 0 additions & 6 deletions src/sass/elements/_right--main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ main [data-testid^='conversation-turn-'] {
margin-bottom: var(--mb-chat-bubble) !important;

div[data-message-author-role],
.text-base,
.prose {
line-height: calc(var(--lineHeight) / 16) !important;
font-size: calc((var(--fontSize) / 16) * 1rem) !important;
Expand Down Expand Up @@ -119,7 +118,6 @@ main [data-testid^='conversation-turn-'] {

/* @ RIGHT - CHATS BUBBLES - USER */
&:has([data-message-author-role='user']) {
// line-height: calc(var(--lineHeight) / 16) !important;

/* RIGHT - CHATS BUBBLE BG */
/* ? gpt4o - User message */
Expand Down Expand Up @@ -224,10 +222,6 @@ main [data-testid^='conversation-turn-'] {
}
}

// .markdown {
// line-height: calc(var(--lineHeight) / 16) !important;
// }

/* RIGHT - CHATS BUBBLE BG
- Adding .markdown here fix flash background of user chat bubble on first message
TODO I need to check if his also fix th "Which response do you prefer" wrapper design */
Expand Down

0 comments on commit ea00fbf

Please sign in to comment.