solved issue for firefox, with internet connection
This commit is contained in:
parent
16843fd66d
commit
357dfbd009
3 changed files with 9 additions and 2 deletions
|
|
@ -40,3 +40,8 @@
|
|||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@font-face{
|
||||
font-family: text-security-disc;
|
||||
src: url("https://raw.githubusercontent.com/noppa/text-security/master/dist/text-security-disc.woff");
|
||||
}
|
||||
|
|
@ -23,7 +23,7 @@ export default function InputComponent({
|
|||
className={classNames(
|
||||
"block w-full form-input dark:bg-gray-900 dark:border-gray-600 rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm",
|
||||
disabled ? " bg-gray-200 dark:bg-gray-700" : "",
|
||||
password?"password":""
|
||||
password && myValue.length>0?"password":""
|
||||
)}
|
||||
placeholder="Type a text"
|
||||
onChange={(e) => {
|
||||
|
|
|
|||
|
|
@ -34,7 +34,9 @@ module.exports = {
|
|||
},
|
||||
},
|
||||
'.password':{
|
||||
"-webkit-text-security":"disc"
|
||||
"-webkit-text-security":"disc",
|
||||
"font-family": "text-security-disc"
|
||||
|
||||
}
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue