Skip to content

Commit

Permalink
fix: use span instead of div inside buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac authored and Niklas Kiefer committed Oct 22, 2021
1 parent 819495a commit 350171b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ All notable changes to [`@bpmn-io/properties-panel`](https://github.com/bpmn-io/

___Note:__ Yet to be released changes appear here._

* `FIX`: use valid HTML in add/remove buttons ([#111](https://github.com/bpmn-io/properties-panel/pull/111))

## 0.5.1

Expand Down
2 changes: 1 addition & 1 deletion src/components/ListGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export default function ListGroup(props) {
<CreateIcon />
{
!hasItems ? (
<div class="bio-properties-panel-add-entry-label">Create</div>
<span class="bio-properties-panel-add-entry-label">Create</span>
)
: null
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/entries/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default function List(props) {
<CreateIcon />
{
!hasItems ? (
<div class="bio-properties-panel-add-entry-label">Create</div>
<span class="bio-properties-panel-add-entry-label">Create</span>
)
: null
}
Expand Down

0 comments on commit 350171b

Please sign in to comment.