apolinario commited on
Commit
a7724cf
·
1 Parent(s): 750d70f

check if modal is now correct

Browse files
Files changed (1) hide show
  1. index.html +10 -2
index.html CHANGED
@@ -541,12 +541,16 @@
541
  width: 100%;
542
  height: 100%;
543
  background: rgba(0, 0, 0, 0.7);
544
- display: flex;
545
  align-items: center;
546
  justify-content: center;
547
  z-index: 1000;
548
  }
549
 
 
 
 
 
550
  .modal {
551
  background: #fafaf9;
552
  border-radius: 12px;
@@ -583,6 +587,7 @@
583
  background: #fafaf9;
584
  cursor: pointer;
585
  transition: all 0.2s;
 
586
  }
587
 
588
  .modal-option:hover {
@@ -880,7 +885,10 @@
880
  },
881
 
882
  close() {
883
- document.getElementById('limitModal').classList.add('hidden');
 
 
 
884
  },
885
 
886
  saveFalKey() {
 
541
  width: 100%;
542
  height: 100%;
543
  background: rgba(0, 0, 0, 0.7);
544
+ display: none;
545
  align-items: center;
546
  justify-content: center;
547
  z-index: 1000;
548
  }
549
 
550
+ .modal-overlay:not(.hidden) {
551
+ display: flex;
552
+ }
553
+
554
  .modal {
555
  background: #fafaf9;
556
  border-radius: 12px;
 
587
  background: #fafaf9;
588
  cursor: pointer;
589
  transition: all 0.2s;
590
+ text-decoration: none;
591
  }
592
 
593
  .modal-option:hover {
 
885
  },
886
 
887
  close() {
888
+ const modal = document.getElementById('limitModal');
889
+ if (modal) {
890
+ modal.classList.add('hidden');
891
+ }
892
  },
893
 
894
  saveFalKey() {