Skip to content

Commit

Permalink
Fix image size enum to produce class is-square instead of is-Square
Browse files Browse the repository at this point in the history
  • Loading branch information
shenek authored Apr 18, 2023
1 parent 399d705 commit d950ad2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ Subheadings to categorize changes are `added, changed, deprecated, removed, fixe

## Unreleased
### added
- Configurable character of PaginationEllipsis
- Configurable character of PaginationEllipsis.

### fixed
- ImageSize should store `is-square` instead of `is-Square` to html class attribute.

## 0.4.0-beta.0
The only real change here is that YBC has been updated to Yew 0.20, which included updating only a few components.
Expand Down
2 changes: 1 addition & 1 deletion src/elements/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub enum ImageSize {
Is96x96,
#[display(fmt = "128x128")]
Is128x128,
#[display(fmt = "Square")]
#[display(fmt = "square")]
IsSquare,
#[display(fmt = "1by1")]
Is1by1,
Expand Down

0 comments on commit d950ad2

Please sign in to comment.