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(/lib/components/dropdown): set <Dropdown> width equal to trigger #(575) #709

Closed
wants to merge 1 commit into from

Conversation

joshuarcher
Copy link

@joshuarcher joshuarcher commented Apr 20, 2023

Description

Update the dropdown width to fit the button width

This is a copy of Pull-583, except it fixes the linter error.

Fixes #575

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change contains documentation update

Breaking changes

Please document the breaking changes if suitable.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration:

  • Firmware version:
  • Hardware:
  • Toolchain:
  • SDK:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

…#(575)

Description
Update the dropdown width to fit the button width

Fixes themesberg#575

Type of change
Please delete options that are not relevant.

 Bug fix (non-breaking change which fixes an issue)
 New feature (non-breaking change which adds functionality)
 Breaking change (fix or feature that would cause existing functionality to not work as expected)
 This change contains documentation update
Breaking changes
Please document the breaking changes if suitable.

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

 Test A
 Test B
Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:
Checklist:
 My code follows the style guidelines of this project
 I have performed a self-review of my own code
 I have commented my code, particularly in hard-to-understand areas
 I have made corresponding changes to the documentation
 My changes generate no new warnings
 I have added tests that prove my fix is effective or that my feature works
 New and existing unit tests pass locally with my changes
 Any dependent changes have been merged and published in downstream modules
 I have checked my code and corrected any misspellings
@codecov
Copy link

codecov bot commented Apr 20, 2023

Codecov Report

Patch coverage: 83.33% and project coverage change: -0.05 ⚠️

Comparison is base (54fc3c2) 99.43% compared to head (4d191b1) 99.38%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #709      +/-   ##
==========================================
- Coverage   99.43%   99.38%   -0.05%     
==========================================
  Files         131      131              
  Lines        6504     6518      +14     
  Branches      488      490       +2     
==========================================
+ Hits         6467     6478      +11     
- Misses         37       40       +3     
Impacted Files Coverage Δ
src/lib/components/Dropdown/Dropdown.tsx 98.05% <83.33%> (-1.95%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@tulup-conner
Copy link
Collaborator

Duplicate of #714 but thank you anyway

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.

Dropdown component menu default width + rounded edges
2 participants