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

[feature] style the button before styling the calendar #133

Open
BigBoulard opened this issue Sep 21, 2021 · 2 comments
Open

[feature] style the button before styling the calendar #133

BigBoulard opened this issue Sep 21, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@BigBoulard
Copy link

BigBoulard commented Sep 21, 2021

Hi,

Just a quick suggestion. It would have been cool to be able to style the button : width, height, disable the drop shadow etc. instead of doing things like this in the parent:

:global(div.trigger > div.button-container > button) {
		box-shadow: none;
	}

Note that because of the specificity, div.button-container > button doesn't work but div.trigger > div.button-container > button is doing the job for removing the box-shadow on the button.

Best.

@6eDesign 6eDesign added the enhancement New feature or request label Sep 22, 2021
@6eDesign
Copy link
Owner

Did you know that you can provide your own button/trigger for the calendar?

I'm happy to add more theming capabilities to the default trigger but providing your own button/input/etc is often going to be the best course of action

@rafrafek
Copy link

You can provide your own button, but in 3.1.6 you can't pass style to it's internals, e.g. style="width: 100%;". In 2.0.4 you can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants