mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Align static modals with accessibility panel markup
This commit is contained in:
1 parent
98bf9b103f
commit
8ad0eec2e1
6 files changed
+15
-8
No files matched your search
@@ -23,7 +23,7 @@
|
||||
<div class="bv-modal-backdrop" data-dismiss></div>
|
||||
|
||||
<!-- Inner content container -->
|
||||
<div class="modal-sheet">
|
||||
<div class="bv-modal__panel modal-sheet" tabindex="-1">
|
||||
<!-- Header bar with updated styling -->
|
||||
<div class="modal-header">
|
||||
<h2
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
>
|
||||
<div class="bv-modal-backdrop" data-dismiss></div>
|
||||
|
||||
<div class="modal-sheet">
|
||||
<div class="bv-modal__panel modal-sheet" tabindex="-1">
|
||||
<!-- Header bar (sticky) with updated title styling -->
|
||||
<div class="modal-header">
|
||||
<h2
|
||||
|
||||
@@ -4,13 +4,20 @@
|
||||
<div
|
||||
id="contentAppealsModal"
|
||||
class="bv-modal hidden items-start justify-center overflow-y-auto"
|
||||
role="dialog"
|
||||
aria-modal="true"
|
||||
aria-labelledby="contentAppealsModalTitle"
|
||||
aria-describedby="contentAppealsModalDescription"
|
||||
>
|
||||
<div class="bv-modal-backdrop" data-dismiss></div>
|
||||
|
||||
<div class="modal-sheet">
|
||||
<div class="bv-modal__panel modal-sheet" tabindex="-1">
|
||||
<!-- Header bar (sticky) with improved title styling -->
|
||||
<div class="modal-header">
|
||||
<h2 class="pb-2 text-3xl font-extrabold tracking-wide text-text">
|
||||
<h2
|
||||
id="contentAppealsModalTitle"
|
||||
class="pb-2 text-3xl font-extrabold tracking-wide text-text"
|
||||
>
|
||||
Content Appeals Form
|
||||
</h2>
|
||||
<button
|
||||
@@ -34,7 +41,7 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="modal-body">
|
||||
<div id="contentAppealsModalDescription" class="modal-body">
|
||||
<div class="h-[80vh] w-full">
|
||||
<iframe
|
||||
src="./components/iframe_forms/iframe-content-appeals-form.html"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<div class="bv-modal-backdrop" data-dismiss></div>
|
||||
|
||||
<!-- Outer container with wide layout, just like content-appeals-form -->
|
||||
<div class="modal-sheet flex flex-col overflow-hidden" tabindex="-1">
|
||||
<div class="bv-modal__panel modal-sheet flex flex-col overflow-hidden" tabindex="-1">
|
||||
<!-- Sticky top bar, if you want a top heading or 'X' button up here -->
|
||||
<div class="modal-header"></div>
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
>
|
||||
<div class="bv-modal-backdrop" data-dismiss></div>
|
||||
|
||||
<div class="modal-sheet">
|
||||
<div class="bv-modal__panel modal-sheet" tabindex="-1">
|
||||
<!-- Header bar (sticky) with updated title styling -->
|
||||
<div class="modal-header">
|
||||
<h2
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
>
|
||||
<div class="bv-modal-backdrop" data-dismiss></div>
|
||||
|
||||
<div class="modal-sheet">
|
||||
<div class="bv-modal__panel modal-sheet" tabindex="-1">
|
||||
<!-- Header bar (sticky) with updated title styling -->
|
||||
<div class="modal-header">
|
||||
<h2
|
||||
|
||||
Reference in new issue
Block a user