solved issue for firefox, with internet connection

This commit is contained in:
anovazzi1 2023-04-10 17:23:04 -03:00
commit 357dfbd009
3 changed files with 9 additions and 2 deletions

View file

@ -40,3 +40,8 @@
transform: rotate(360deg); 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");
}

View file

@ -23,7 +23,7 @@ export default function InputComponent({
className={classNames( 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", "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" : "", disabled ? " bg-gray-200 dark:bg-gray-700" : "",
password?"password":"" password && myValue.length>0?"password":""
)} )}
placeholder="Type a text" placeholder="Type a text"
onChange={(e) => { onChange={(e) => {

View file

@ -34,7 +34,9 @@ module.exports = {
}, },
}, },
'.password':{ '.password':{
"-webkit-text-security":"disc" "-webkit-text-security":"disc",
"font-family": "text-security-disc"
} }
} }
) )