Skip to content

Commit

Permalink
Fix dismissible-box styling issue (#2564)
Browse files Browse the repository at this point in the history
Fix dismissible-box styling issue

Changes in #2487 renamed the class from alert-dismissible to
alert-dismissible-box, causing Bootstrap CSS styles on
.alert-dismissible .btn-close to lose effect.

This commit restores the original styling by adding back
the necessary CSS styles to .alert-dismissible-box .btn-close.
  • Loading branch information
gerteck authored Jul 23, 2024
1 parent db8bc53 commit c8b304c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/vue-components/src/Box.vue
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,10 @@ export default {
}
.alert-dismissible-box .btn-close {
position: absolute;
top: 0;
right: 0;
z-index: 2;
padding: 1rem;
}
Expand Down

0 comments on commit c8b304c

Please sign in to comment.