Browse Source

recaptcha bage hide class purge bug fixed

master
ChiefRed 3 years ago
parent
commit
91d7c419a1
3 changed files with 9 additions and 2 deletions
  1. +1
    -1
      public/index.html
  2. +4
    -0
      src/assets/styles/.index.css
  3. +4
    -1
      tailwind.config.js

+ 1
- 1
public/index.html View File

@@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>Popup Forms React App</title>
<script type="text/javascript">
window.appCfg = {
reCaptchaSiteKey: atob('Nkxmd3ROOFpBQUFBQUtNdHhQS0R6UEtlWUVkMWVJSlRKem9rWEtPaA=='),

+ 4
- 0
src/assets/styles/.index.css View File

@@ -672,6 +672,10 @@ p {
margin: .3rem 0 .5rem 0;
}

.grecaptcha-badge {
display: none !important;
}

.btn-primary {
-webkit-appearance: none;
-moz-appearance: none;

+ 4
- 1
tailwind.config.js View File

@@ -4,7 +4,10 @@ module.exports = {
purge: {
content: [
'./src/**/*.jsx',
]
],
options: {
safelist: ['grecaptcha-badge'],
},
},
darkMode: false, // or 'media' or 'class'
theme: {

Loading…
Cancel
Save