-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Styling <select> by changing less variables in Luma theme doesn't work as expected #15608
Comments
I am working on this |
Shouldn't be this in _extend.less? |
@DanielRuf No it's not working in _extend.less. We should move change from web/css/source/_forms.less to web/css/source/_theme.less |
… doesn't work as expected magento#15608]
Hi @denistrator. Thank you for your report. The fix will be available with the upcoming 2.3.0 release. |
Hi @denistrator. Thank you for your report. The fix will be available with the upcoming 2.2.6 release. |
Hi @denistrator. Thank you for your report. The fix will be available with the upcoming 2.1.15 release. |
Preconditions
Steps to reproduce
@select__background: rgba(255, 255, 255, 0.15);
@select__border: 2px dashed blue;
@select__height: 50px;
@select__padding: 15px 40px 15px 15px;
@select__background-clip: border-box;
Expected result
Have "select" elements with the styles you set in _theme.less
Actual result
"select" elements have different styles
What causes the issue
web/css/source/_forms.less overrides some "select" styles defined with "@select__" variables
![screenshot_287](https://user-images.githubusercontent.com/21016905/40738320-ef9e2a6c-644b-11e8-95d0-a397a475b89b.png)
Solution
Remove styles for background, border, height, padding-right from web/css/source/_forms.less and set these styles in _theme.less
The text was updated successfully, but these errors were encountered: