mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(web): RegexField add padding (#812)
added conditional padding to regexfield added a conditional pr-10 if useRegex=true to make the right side of the field remain visible when the icons are present Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
This commit is contained in:
parent
6e4c6b6356
commit
e998f4e529
1 changed files with 3 additions and 0 deletions
|
@ -202,6 +202,9 @@ export const RegexField = ({
|
|||
disabled
|
||||
? "bg-gray-100 dark:bg-gray-700 cursor-not-allowed"
|
||||
: "dark:bg-gray-800",
|
||||
useRegex
|
||||
? "pr-10"
|
||||
: "",
|
||||
"mt-2 block w-full dark:text-gray-100 rounded-md"
|
||||
)}
|
||||
disabled={disabled}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue