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

work correctly both with client-side routing and a non-root public URL. 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`. 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"> <script type="text/javascript">
window.appCfg = { window.appCfg = {
reCaptchaSiteKey: atob('Nkxmd3ROOFpBQUFBQUtNdHhQS0R6UEtlWUVkMWVJSlRKem9rWEtPaA=='), reCaptchaSiteKey: atob('Nkxmd3ROOFpBQUFBQUtNdHhQS0R6UEtlWUVkMWVJSlRKem9rWEtPaA=='),

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

margin: .3rem 0 .5rem 0; margin: .3rem 0 .5rem 0;
} }


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

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

+ 4
- 1
tailwind.config.js View File

purge: { purge: {
content: [ content: [
'./src/**/*.jsx', './src/**/*.jsx',
]
],
options: {
safelist: ['grecaptcha-badge'],
},
}, },
darkMode: false, // or 'media' or 'class' darkMode: false, // or 'media' or 'class'
theme: { theme: {

Loading…
Cancel
Save