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

Card theme title parity and margin fix #704

Merged
merged 3 commits into from
Apr 25, 2018
Merged

Conversation

snide
Copy link
Contributor

@snide snide commented Apr 25, 2018

This also fixes an issue with margins when no icon is used.

before

image

after

image

@snide snide requested a review from cchaos April 25, 2018 21:52
@snide
Copy link
Contributor Author

snide commented Apr 25, 2018

cc @jen-huang who noticed this.

Copy link
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

Thanks!

@@ -52,6 +53,7 @@ $euiCardSpacing: map-get($euiPanelPaddingModifiers, "paddingMedium");

/**
* 1. Footer is always at the bottom.
* 2. Footer is always at the bottom.
Copy link
Contributor

Choose a reason for hiding this comment

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

Duplicate comment

@@ -79,14 +81,18 @@ $euiCardSpacing: map-get($euiPanelPaddingModifiers, "paddingMedium");
}
}

// If an icon or image exists, add some space
.euiCard__top + .euiCard__content {
margin-top: $euiSize;
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like I was originally using the $euiCardSpacing variable for margin-top

@snide snide force-pushed the bug/card_titles branch from 94fa32c to 00bb529 Compare April 25, 2018 22:10
@snide snide merged commit f932145 into elastic:master Apr 25, 2018
@snide snide deleted the bug/card_titles branch April 25, 2018 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants