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

Don't show extra border when no config is available #221

Conversation

andrewortwein
Copy link
Contributor

@andrewortwein andrewortwein commented Mar 13, 2024

The top "Configuration" section has a bottom border on it and the bottom "Uninstall" section has a top border on it, which is fine as long as there is something in the middle. This changes it so that the last item in the "middle" will have a bottom border, removing the top border from the "Uninstall" section. That way, when the middle is empty, there is no extra border.

I added a couple stories to make sure nothing changed when a config is actually present. None of the existing stories were capturing the bottom of the config.

Before:

image

After:

image

📦 Published PR as canary version: 1.2.20--canary.221.e9f4fdf.0

✨ Test out this PR locally via:

npm install @chromatic-com/[email protected]
# or 
yarn add @chromatic-com/[email protected]

@andrewortwein andrewortwein marked this pull request as ready for review March 13, 2024 20:52
@andrewortwein andrewortwein added patch Auto: Increment the patch version when merged release Auto: Create a `latest` release when merged labels Mar 14, 2024
@andrewortwein andrewortwein merged commit c9428e1 into main Mar 14, 2024
8 of 10 checks passed
@andrewortwein andrewortwein deleted the andrew/ap-4364-vta-when-theres-no-config-file-the-state-looks-weird branch March 14, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Auto: Increment the patch version when merged release Auto: Create a `latest` release when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants