Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

fix(dropdown): set min height and width for angle icon #6557

Closed
wants to merge 7 commits into from

Conversation

gerinjacob
Copy link
Contributor

  • @cds/core is now setting min height and width for all icons.
    So height and width override in dropdown was having no effect. Added min height and width.

Signed-off-by: gerinjacob gerinjacob@gmail.com

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • If applicable, have a visual design approval

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • clarity.design website / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Size of angle icon inside dropdown is bigger, since it ignores the height and width values set in dropdown style.
min-height and min-width set as part of 629537a is causing this issue.

Issue Number: N/A

What is the new behavior?

In addition to height and width also set min height and width in dropdown style.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

coryrylan and others added 7 commits December 8, 2021 14:28
Signed-off-by: Cory Rylan <splintercode.cb@gmail.com>
Signed-off-by: Steve Haar <info@stevehaar.com>
The assertions in these four tests were not being executed due to improper use of fakeAsync.

Signed-off-by: Steve Haar <info@stevehaar.com>
fixes vmware-archive#5967

The default icon size was 16px and the spinner was 18px causing an ellipsis to show

Signed-off-by: Steve Haar <info@stevehaar.com>
When getting staged files, an additional empty string was included which
caused all files to be committed even if they didn't have any staged
changes.

Signed-off-by: Steve Haar <info@stevehaar.com>
Signed-off-by: Steve Haar <info@stevehaar.com>
- @cds/core is now setting min height and width for all icons.
  So height and width override in dropdown was having no effect.

Signed-off-by: gerinjacob <gerinjacob@gmail.com>
@bbogdanov bbogdanov changed the base branch from v12 to angular January 6, 2022 12:08
@bbogdanov
Copy link
Contributor

Hi @gerinjacob,

Thank you for the contribution. I would like to take some time to check if this is the optimal solution.

The base should be angular for the branch. We will take care of the backporting to the v12 and v5.

@gerinjacob
Copy link
Contributor Author

@bbogdanov , created PR - #6558 for angular branch. Closing this one.

@gerinjacob gerinjacob closed this Jan 6, 2022
@gerinjacob gerinjacob deleted the dropdown-angle branch January 6, 2022 12:35
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.

4 participants