Skip to content

Commit 9b8f9d7

Browse files
committed
Refactor alert role
1 parent ea84025 commit 9b8f9d7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

styles/forms.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,8 @@ input[type=range] {
351351
[role=alert] {
352352
color: yellow;
353353
text-align: center;
354-
background: rgba(255,255,255,.3);
354+
width: fit-content;
355+
min-width: fit-content;
355356
}
356357
[role^=alert]:target {
357358
z-index: 1;

0 commit comments

Comments
 (0)