Skip to content

feat(select): add css vars for divider spacing#32867

Open
moniuch wants to merge 1 commit intoangular:mainfrom
moniuch:feat/mat-select-spacing-vars
Open

feat(select): add css vars for divider spacing#32867
moniuch wants to merge 1 commit intoangular:mainfrom
moniuch:feat/mat-select-spacing-vars

Conversation

@moniuch
Copy link

@moniuch moniuch commented Feb 26, 2026

This is my first rodeo in this repo, so please bear with me! :) I might have slipped here or there.
My understanding is that css vars are parsed automatically into the Styling section of the docs. Please instruct me otherwise.

This PR adds CSS vars to support spacing of mat-divider within mat-select, in alignment with the existing support in mat-menu.

image

Closes #31707.

@google-cla
Copy link

google-cla bot commented Feb 26, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@angular-robot angular-robot bot added detected: feature PR contains a feature commit labels Feb 26, 2026
Comment on lines +14 to +15
select-divider-bottom-spacing: 0,
select-divider-top-spacing: 0
Copy link
Author

Choose a reason for hiding this comment

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

I wasn't really sure here. 0 is the m2 default for mat-menu, but tbh it defies the purpose.

@moniuch moniuch force-pushed the feat/mat-select-spacing-vars branch from b5a8f01 to b103f6d Compare February 26, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

detected: feature PR contains a feature commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(mat-select): Add CSS vars for divider spacing

1 participant