leptos-rs / book

The home for the Leptos book, which can be found deployed at https://book.leptos.dev
MIT License
89 stars 68 forks source link

fix: 3.2 Dynamic Attributes CodeSandbox demo code #41

Closed juroberttyb closed 11 months ago

juroberttyb commented 11 months ago

Description

This PR fixes the button text not turning red on odd counts by adding the missing CSS style in index.html and provides a new CodeSandbox link.

Changes

1, Updated CodeSandbox link 2, Added the missing .red style in index.html

.red {
    color: red;
}

Questions

  1. What change does your PR introduce?

    • [x] Bugfix
    • [ ] New Feature
    • [ ] Enhancement
    • [ ] Refactoring
    • [x] Documentation Update
    • [ ] Other
  2. Is this PR related to any open issues?

    • [x] Yes (40)
    • [ ] No
gbj commented 11 months ago

Thanks — I have fixed this in the original sandbox.