8000 Fix card header margins by ahuang11 · Pull Request #6639 · holoviz/panel · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@ahuang11
Copy link
Contributor
@ahuang11 ahuang11 commented Apr 1, 2024

The card header CSS seemed to be all over the place and imbalanced; this PR tries to make it less complex and have a balanced margin/padding.

Before (notice the left has a bit more padding vs the right):
image

After:
image

@ahuang11 ahuang11 requested a review from philippjfr April 1, 2024 22:12
@ahuang11 ahuang11 force-pushed the fix_card_header_margins branch from 563ded1 to c9be2bc Compare April 1, 2024 22:14
Base automatically changed from card_icon to main April 2, 2024 08:00
@philippjfr
Copy link
Member

Merging despite the failures as I'm resolving those in #6641

Copy link
Member
@philippjfr philippjfr left a comment

Choose a reason for hiding this comment

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

I would have accepted one change for the chevrons and the margins but duplicating them like you have done here is a bit confusing.

@philippjfr philippjfr merged commit 640a3c4 into main Apr 2, 2024
@philippjfr philippjfr deleted the fix_card_header_margins branch April 2, 2024 12:59
@philippjfr
Copy link
Member

Really appreciate these changes btw, I've been planning to do this for a long time.

@ahuang11
Copy link
Contributor Author
ahuang11 commented Apr 2, 2024

Ooh yeah, I forgot to change branch before starting on the margin, but I appreciate the merge!

ahuang11 added a commit that referenced this pull request Apr 2, 2024
ahuang11 added a commit that referenced this pull request Apr 2, 2024
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0