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

fix: Hide border on DetailRow:last-of-type #596

Merged
merged 2 commits into from
Feb 29, 2024
Merged

fix: Hide border on DetailRow:last-of-type #596

merged 2 commits into from
Feb 29, 2024

Conversation

xplato
Copy link
Contributor

@xplato xplato commented Feb 29, 2024

Fixes an issue where the border of the last DetailRow would be visible. This is because the SCSS uses the :not(:last-of-type) selector, which operates on element type. To fix it, we needed to make sure that DetailRow was the last div in any given child div. This PR simply wraps those two exceptional elements in an intermediary div.

Before

Under "Fan mode" and "Allow manual override"

Screenshot 2024-02-29 at 3 30 26 PM

After

Screenshot 2024-02-29 at 3 29 41 PM

@xplato xplato merged commit da95474 into main Feb 29, 2024
15 of 16 checks passed
@xplato xplato deleted the fix-row-border branch February 29, 2024 23:10
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.

3 participants