Skip to content

Commit

Permalink
Ensured that toast radio button is hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
DBFBlackbull committed Jan 22, 2024
1 parent 57efe5a commit c8a10cf
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
8 changes: 4 additions & 4 deletions ADnD_2E_Revised/2ESheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -21964,10 +21964,10 @@ <h2>Monster Sheet specific</h2>
<input type="checkbox" name="attr_toast" class="sheet-show-toast" value="1">
<div class="sheet-toast sheet-hidden">
<button class="sheet-hide-toast" type="action" name="act_hide-toast">X</button>
<input type="radio" name="attr_toast-content" class="sheet-toast-success" value="1">
<input type="radio" name="attr_toast-content" class="sheet-toast-info" value="2">
<input type="radio" name="attr_toast-content" class="sheet-toast-warning" value="3">
<input type="radio" name="attr_toast-content" class="sheet-toast-error" value="4">
<input type="radio" name="attr_toast-content" class="sheet-hidden sheet-toast-success" value="1">
<input type="radio" name="attr_toast-content" class="sheet-hidden sheet-toast-info" value="2">
<input type="radio" name="attr_toast-content" class="sheet-hidden sheet-toast-warning" value="3">
<input type="radio" name="attr_toast-content" class="sheet-hidden sheet-toast-error" value="4">

<div class="sheet-toast-content">
<input name="attr_toast-title" readonly>
Expand Down
3 changes: 2 additions & 1 deletion ADnD_2E_Revised/2EStyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,8 @@ th {
visibility: collapse;
}

.sheet-hidden {
.sheet-hidden,
.charsheet .sheet-hidden {
display: none;
}

Expand Down
3 changes: 2 additions & 1 deletion ADnD_2E_Revised/css/2EStyle-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,8 @@ th {
visibility: collapse;
}

.sheet-hidden {
.sheet-hidden,
.charsheet .sheet-hidden {
display: none;
}

Expand Down
8 changes: 4 additions & 4 deletions ADnD_2E_Revised/html/toast.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<input type="checkbox" name="attr_toast" class="sheet-show-toast" value="1">
<div class="sheet-toast sheet-hidden">
<button class="sheet-hide-toast" type="action" name="act_hide-toast">X</button>
<input type="radio" name="attr_toast-content" class="sheet-toast-success" value="1">
<input type="radio" name="attr_toast-content" class="sheet-toast-info" value="2">
<input type="radio" name="attr_toast-content" class="sheet-toast-warning" value="3">
<input type="radio" name="attr_toast-content" class="sheet-toast-error" value="4">
<input type="radio" name="attr_toast-content" class="sheet-hidden sheet-toast-success" value="1">
<input type="radio" name="attr_toast-content" class="sheet-hidden sheet-toast-info" value="2">
<input type="radio" name="attr_toast-content" class="sheet-hidden sheet-toast-warning" value="3">
<input type="radio" name="attr_toast-content" class="sheet-hidden sheet-toast-error" value="4">

<div class="sheet-toast-content">
<input name="attr_toast-title" readonly>
Expand Down

0 comments on commit c8a10cf

Please sign in to comment.