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

add class to modal #206

Merged
merged 3 commits into from
Jun 10, 2024
Merged

add class to modal #206

merged 3 commits into from
Jun 10, 2024

Conversation

kandrelczyk
Copy link
Contributor

Hi, added class to the modal component. Without it I couldn't make it responsive and fit nicely on mobile.
I tested the component but I'm getting errors when I try to build the demo page:

error[E0282]: type annotations needed for `Box<_>`
  --> /opt/cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.30/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
help: consider giving `items` an explicit type, where the placeholders `_` are specified
   |
83 |     let items: Box<_> = format_items
   |              ++++++++

Hope the markdown is ok.
Any idea what is causing the error? I'm on rust 1.80.0-nightly.

@kandrelczyk
Copy link
Contributor Author

Also added closable param.

@luoxiaozero
Copy link
Collaborator

Any idea what is causing the error? I'm on rust 1.80.0-nightly.

Run cargo update to solve the problem. See time-rs/time#681.

@luoxiaozero luoxiaozero merged commit a9f02ed into thaw-ui:main Jun 10, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants