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

[ColorPicker]: Cannot set the color picker width #10117

Open
1 task done
annakjc opened this issue Oct 30, 2024 · 1 comment
Open
1 task done

[ColorPicker]: Cannot set the color picker width #10117

annakjc opened this issue Oct 30, 2024 · 1 comment
Assignees
Labels
author action bug This issue is a bug in the code information required Further information is requested

Comments

@annakjc
Copy link

annakjc commented Oct 30, 2024

Bug Description

Hello,
I'm trying to set a width of 12 rem to the Color Picker however there are not shadow parts exposed and I cannot overwrite the hardcoded .ui5-color-picker-main-color {
width: 16rem;
height: 16rem;
}
Are there any suggestions or workarounds that i can perform?

Affected Component

Color Picker

Expected Behaviour

expected to be able to change the width of the color picker.

UI5 Web Components Version

2.3.0

Browser

Chrome

  • I’m not disclosing any internal or sensitive information.
@annakjc annakjc added the bug This issue is a bug in the code label Oct 30, 2024
@dimovpetar dimovpetar self-assigned this Oct 31, 2024
@dimovpetar
Copy link
Contributor

Hello @annakjc ,

The ColorPicker dimensions are defined this big by the visual designers. What is the use of having smaller ColorPicker? This will also affect the other parts of the ColorPicker, such as the sliders, the current color and the RGB, which are not prepared for smaller width.

Best regards,
Petar

@dimovpetar dimovpetar added information required Further information is requested author action labels Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author action bug This issue is a bug in the code information required Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants