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

Use all dropdowns CSS variables #35907

Merged
merged 1 commit into from
Feb 25, 2022

Conversation

julien-deramond
Copy link
Member

@julien-deramond julien-deramond commented Feb 25, 2022

Description

This PR is a proposal to use all dropdowns CSS variables available:

  • --#{$variable-prefix}dropdown-inner-border (that probably needed to be renamed in --#{$variable-prefix}dropdown-inner-border-radius since it is based on $dropdown-inner-border-radius)
  • --#{$variable-prefix}dropdown-divider-margin-y

Motivation & Context

--#{$variable-prefix}dropdown-inner-border and --#{$variable-prefix}dropdown-divider-margin-y were not used in the _dropdown.scss file.

Types of changes

  • Refactoring (non-breaking change)

Checklist

  • I have read the contributing guidelines
  • My code follows the code style of the project (using npm run lint)
  • My change introduces changes to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Related issues

N/A

Live preview

@julien-deramond julien-deramond requested a review from a team as a code owner February 25, 2022 14:43
@mdo mdo force-pushed the main-jd-fix-dropdowns-css-variables branch from 90f7c92 to a0aadf0 Compare February 25, 2022 16:39
@mdo mdo merged commit 2c5a16f into twbs:main Feb 25, 2022
@julien-deramond julien-deramond deleted the main-jd-fix-dropdowns-css-variables branch February 25, 2022 17:19
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