Skip to content

Commit 23cb282

Browse files
authored
fix(modal): use heading classes (#270)
1 parent 3d03ccc commit 23cb282

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/modal/modal--nofooter.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<div data-modal id="nofooter" class="bx--modal" tabindex="-1">
44
<div class="bx--modal-container">
55
<div class="bx--modal-header">
6-
<h4 class="bx--modal-header__label">Label (Optional)</h4>
7-
<h2 class="bx--modal-header__heading">Modal Title</h2>
6+
<p class="bx--modal-header__label bx--type-delta">Label (Optional)</p>
7+
<p class="bx--modal-header__heading bx--type-beta">Modal Title</p>
88
<button class="bx--modal-close" type="button" data-modal-close data-modal-primary-focus aria-label="close modal">
99
<svg class="bx--modal-close__icon" width="10" height="10" viewBox="0 0 10 10" fill-rule="evenodd">
1010
<title>Close Modal</title>

src/components/modal/modal.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<div data-modal id="modal" class="bx--modal" tabindex="-1">
44
<div class="bx--modal-container">
55
<div class="bx--modal-header">
6-
<h4 class="bx--modal-header__label">Label (Optional)</h4>
7-
<h2 class="bx--modal-header__heading">Modal Title</h2>
6+
<p class="bx--modal-header__label bx--type-delta">Label (Optional)</p>
7+
<p class="bx--modal-header__heading bx--type-beta">Modal Title</p>
88
<button class="bx--modal-close" type="button" data-modal-close aria-label="close modal">
99
<svg class="bx--modal-close__icon" width="10" height="10" viewBox="0 0 10 10" fill-rule="evenodd">
1010
<title>Close Modal</title>

0 commit comments

Comments
 (0)