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: change height to 3.8rem to fit design #801

Merged
merged 1 commit into from
Oct 10, 2019
Merged

Conversation

sun-tea
Copy link
Contributor

@sun-tea sun-tea commented Oct 10, 2019

  • Feature
  • Fix
  • Enhancement

Brief

Just an adjustment to the height of several components to make it more flexible (default to 3.8rem which is from the design)

Todo - Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.

@@ -321,5 +328,5 @@ Dropdown.defaultProps = {
export default styled(Dropdown)`
position: relative;
user-select: none;
height: 100%;
height: ${({ height }) => height || '3.8rem'};
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Had to fallback to the default prop again since it is undefined, it does not seem that the styled component retrieve the default prop value

@spartDev spartDev assigned sun-tea and unassigned spartDev, anglol and Artikodin Oct 10, 2019
@spartDev spartDev added bug Something isn't working and removed need review labels Oct 10, 2019
@spartDev spartDev merged commit e32e699 into master Oct 10, 2019
@spartDev spartDev deleted the fix/css-height branch October 10, 2019 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants