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

[core] fix(Section): apply collapsed style when empty children #6282

Merged
merged 3 commits into from
Jul 17, 2023

Conversation

CPerinet
Copy link
Contributor

@CPerinet CPerinet commented Jul 17, 2023

Checklist

  • Includes tests
  • Update documentation

Changes proposed in this pull request:

Apply Classes.SECTION_COLLAPSED on <Section /> when children is empty. This will remove the border bottom of the section header which is unnecessary in this case.

Reviewers should focus on:

Section header do not have a double border anymore when children is empty. Should not have other effects.

Screenshot

Before After
Screenshot 2023-07-17 at 16 18 50 Screenshot 2023-07-17 at 16 18 56

@CPerinet CPerinet requested a review from adidahiya July 17, 2023 15:21
@CPerinet CPerinet changed the title Remove bottom border for section header Remove bottom border of section header for empty sections Jul 17, 2023
@CPerinet CPerinet changed the title Remove bottom border of section header for empty sections [core] Remove bottom border of section header for empty sections Jul 17, 2023
@CPerinet CPerinet changed the title [core] Remove bottom border of section header for empty sections [core] fix: style section as collapsed when empty Jul 17, 2023
@CPerinet CPerinet changed the title [core] fix: style section as collapsed when empty [core] fix: style sections as collapsed when empty Jul 17, 2023
@CPerinet CPerinet changed the title [core] fix: style sections as collapsed when empty [core] fix(Section): apply collapsed style when empty children Jul 17, 2023
@adidahiya adidahiya enabled auto-merge (squash) July 17, 2023 18:24
@adidahiya adidahiya merged commit e696232 into palantir:develop Jul 17, 2023
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