Skip to content

refactor(css): Remove dropdown-specific mixins

Enrique Alcántara requested to merge remove-dropdown-mixins into master

This MR replaces mixins that declare dimension properties of dropdowns (width, height, etc.) with SASS variables. We can use variables to declare these custom dimensions, and use those variables in the component’s styles. This decision does not follow the guideline of using utility mixins to style components. This is a valid exception because the dropdown specs define dimensions that are too specific to be encapsulated in a generic utility class. Moreover, mixins declared in scss/mixins should have a broader purpose.

Edited by 🤖 GitLab Bot 🤖

Merge request reports