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 #6558

Closed

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

- @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>
@netlify
Copy link

netlify bot commented Jan 6, 2022

✔️ Deploy Preview for zzz-angular-clarity-design-old ready!

🔨 Explore the source changes: 46f5c8d

🔍 Inspect the deploy log: https://app.netlify.com/sites/zzz-angular-clarity-design-old/deploys/61d6e191a362a1000819e7f1

😎 Browse the preview: https://deploy-preview-6558--zzz-angular-clarity-design-old.netlify.app

@gerinjacob
Copy link
Contributor Author

Here is the stackblitz, that replicates the issue,
@cds/core=5.6.0 (working) - https://stackblitz.com/edit/clarity-light-theme-v5-cu1rga
@cds/core=5.6.1 (issue) - https://stackblitz.com/edit/clarity-light-theme-v5-fijvox

@steve-haar
Copy link
Contributor

Closing. This has been fixed with 0cb5c3b

@steve-haar steve-haar closed this Jan 10, 2022
@gerinjacob gerinjacob deleted the dropdown-angle-fix branch January 11, 2022 05:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants