Skip to content

Commit

Permalink
fix: #1910
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Jun 4, 2023
1 parent 770f38c commit 3d76bfd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,16 @@ All notable changes to this project will be documented in this file. See [standa

* `badge` inside `btn` now doesn't inherit the `btn` color automatically anymore. This was a bad design decision and it was limiting us to customize `badge` colors when it's inside a `btn`

* `loading` is no longer a modifier class for `btn`. Instead you can use the new `loading` component class inside the button. This allows us to put the loading whereever we need it.
```diff
- <button class="btn loading">
- loading
- </button>
+ <button class="btn">
+ <span class="loading"></span>
+ loading
+ </button>
```

### Bug fixes:

Expand Down

0 comments on commit 3d76bfd

Please sign in to comment.