-
Notifications
You must be signed in to change notification settings - Fork 38
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
how to change thaw component text size? #85
Comments
If you want to change the popup style of all date picker components, you can add a class to override it. If you want to change only the popup style of the specified date picker component, I can add a popup_class attribute to the date picker component. |
the quick solution is to" change the popup style of all date picker components", could you give me a class override example? I can try it. |
Add the following classes. .thaw-date-picker-panel {
font-size: 12px;
} |
Try it like this. <Style>
".font-normal { font-weight: 400; font-size: 0.75rem; }"
".thaw-time-picker-panel, .thaw-date-picker-panel { font-size: 0.75rem; }"
</Style>
"date"
<DatePicker class="font-normal" value=date_value/>
"time"
<TimePicker class="font-normal" value=time_value /> |
There should be style overwriting due to css priority issues. |
is there temporary solution or it's application leptos issue? |
Try this. <Style>
".my-button.thaw-button { background-color: #04AA6D; }"
</Style>
<Button class="my-button">"next"</Button>
I guess it is a css priority issue, which can be solved by adding |
splendid! your important solution can work |
like above picture,
how can I change calendar font size just like 2024-01-17(smaller) which I have modified using class?
thanks.
The text was updated successfully, but these errors were encountered: