Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Accordion): BS4: update markup to match Bootstrap 4's default markup
* add `.accordion` class to fix rounded corners * use .btn-link buttons instead of <a> for header links
- Loading branch information
1 parent
cf0ba77
commit 6ace8a9
Showing
3 changed files
with
18 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
export { default } from 'ember-bootstrap/components/base/bs-accordion'; | ||
import Accordion from 'ember-bootstrap/components/base/bs-accordion'; | ||
|
||
export default Accordion.extend({ | ||
classNames: ['accordion'] | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<h5 class="mb-0"> | ||
<a href="#"> | ||
<button class="btn btn-link" type="button"> | ||
{{yield}} | ||
</a> | ||
</button> | ||
</h5> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters