Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(EAI-532) [UI] Fix spacing for headings and lists #529

Merged
merged 3 commits into from
Oct 9, 2024
Merged

(EAI-532) [UI] Fix spacing for headings and lists #529

merged 3 commits into from
Oct 9, 2024

Conversation

nlarew
Copy link
Collaborator

@nlarew nlarew commented Oct 2, 2024

Jira: (EAI-532) [UI] Fix spacing for headings and lists
Screenshot 2024-10-02 at 5 45 27 PM
Screenshot 2024-10-02 at 5 45 37 PM
Screenshot 2024-10-02 at 5 45 46 PM

@mongodben
Copy link
Collaborator

i think the spacing between list items now looks strangely big. what was the reason for this change?

Comment on lines 136 to +137
return (
<Body as="ol" className={styles.markdown_list} {...props}>
<Body as="ol" {...props}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should styles.markdown_list be deleted accordingly?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah it already is. These styles got merged into markdown_container.

Copy link
Collaborator

@mongodben mongodben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couple questions but generally looks good

@nlarew
Copy link
Collaborator Author

nlarew commented Oct 7, 2024

i think the spacing between list items now looks strangely big. what was the reason for this change?

@mongodben This is the base styles from LG Chat. I removed some of our hacky negative margin stuff in this PR because more edge cases came up. Still not sure why our list items spread out this much but I think it's (a) not terrible and (b) less complicated to use the out of the box styles rather than hacking around every edge case.

@mongodben
Copy link
Collaborator

i think the spacing between list items now looks strangely big. what was the reason for this change?

@mongodben This is the base styles from LG Chat. I removed some of our hacky negative margin stuff in this PR because more edge cases came up. Still not sure why our list items spread out this much but I think it's (a) not terrible and (b) less complicated to use the out of the box styles rather than hacking around every edge case.

maybe get sign off from liz before merge + deploy?

i'm totally supportive of not hacking around edge cases, but i really think it looks off. maybe at least we could make a ticket for LG chat, or bring to their attention so they can address upstream w/o you having to hack

Screenshot 2024-10-08 at 3 38 11 PM

@nlarew nlarew merged commit 3d64de2 into main Oct 9, 2024
1 check passed
@nlarew nlarew deleted the styles branch October 9, 2024 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants