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

Provide many sizes to counter #28

Open
marwan2 opened this issue Apr 7, 2020 · 3 comments
Open

Provide many sizes to counter #28

marwan2 opened this issue Apr 7, 2020 · 3 comments

Comments

@marwan2
Copy link

marwan2 commented Apr 7, 2020

Re-factor css to resize counter,
and provide for exmaple 3 options:
Large, normal, small

@PButcher
Copy link
Owner

PButcher commented Apr 8, 2020

Flipdown already supports two sizes, a regular and small variant. I'd appreciate a PR if you'd like to add more sizing options.

@codeunifier
Copy link

@PButcher How do you get the small variant? I don't see anything in the documentation or in the FlipDown class about how to change the size.

@PButcher
Copy link
Owner

@PButcher How do you get the small variant? I don't see anything in the documentation or in the FlipDown class about how to change the size.

It's currently triggered by a media query, it's not a setting.

If you'd like to use the small version as the default, you can use the styles in the media query to override the default behaviour: https://github.com/PButcher/flipdown/blob/master/dist/flipdown.css#L213-L283

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

No branches or pull requests

3 participants