-
-
Notifications
You must be signed in to change notification settings - Fork 922
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
Cannot set picker toolbar width #3580
Comments
Hi @MikhailBakaevdev when only one calendar is displayed, I suggest placing the shortcut options on the left side of the panel.
|
@simonguo Hi there! thank u for your answer! It helped for me! But how i can change buttons color? now its always blue but i need green color for presets and "Ok" button |
Currently, custom "Ok" button is not supported, but you can customize the theme color by customizing Less or CSS variables. Less: https://rsuitejs.com/guide/customization-less/ @primary-color: #4caf50; CSS Variables: https://rsuitejs.com/guide/css-variables/ :root {
// Colors palette
// See: https://rsuitejs.com/resources/palette/
--rs-primary-50: #eeffed;
--rs-primary-100: #c8f0c7;
--rs-primary-200: #a5e0a4;
--rs-primary-300: #82cf82;
--rs-primary-400: #65bf67;
--rs-primary-500: #4caf50;
--rs-primary-600: #37ab3c;
--rs-primary-700: #22a12a;
--rs-primary-800: #0f9119;
--rs-primary-900: #007d0c;
} |
it works thank u @simonguo |
What version of rsuite are you using?
5.50.0
What version of React are you using?
18.2.0
What version of TypeScript are you using (if any)?
4.3.5
What browser are you using?
Chrome
Describe the Bug
Cannot set width for picker toolbar. If i want to set new "OK" button name then button will be like this
also i dont have opportunity to change button color
Expected Behavior
No response
To Reproduce
No response
The text was updated successfully, but these errors were encountered: