mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 01:29:54 -06:00
Merge pull request #2337 from unraid/fix/swal-inputs
fix: update swal input visibility logic
This commit is contained in:
@@ -178,11 +178,6 @@ pre#swaltext {
|
||||
}
|
||||
}
|
||||
|
||||
/* this is a hack to prevent the default SWAL input from being shown, but allow the ones we want to be show */
|
||||
input[type="text"]:not(.swal-input-show) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
box-shadow: 0px 0px 3px #c4e6f5;
|
||||
@@ -484,6 +479,11 @@ pre#swaltext {
|
||||
}
|
||||
}
|
||||
|
||||
/* this is a hack to prevent the default SWAL input from being shown unless the class show-input is present on the swal or the swal-input-show class is present on the input */
|
||||
.sweet-alert:not(.show-input) input[type="text"]:not(.swal-input-show) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Typography */
|
||||
.sweet-alert h2 {
|
||||
color: #575757;
|
||||
|
||||
Reference in New Issue
Block a user