Skip to content

Commit

Permalink
Merge pull request #491 from persistenceOne/sanity_fixes
Browse files Browse the repository at this point in the history
update terms modal styles
  • Loading branch information
blackpanther1881 authored Nov 10, 2023
2 parents d46e2db + 8c42322 commit f378d5f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/assets/scss/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/assets/scss/index.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/assets/scss/views/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -534,9 +534,9 @@

.modal-content {
border-radius: 0;
background: #282828;
background: #282828 !important;
.heading{
color: #FCFCFC;
color: #FCFCFC !important;
font-size: 24px;
font-weight: 600;
}
Expand Down
5 changes: 4 additions & 1 deletion src/containers/TermsModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ const ModalTerms = () => {
const [checkAll, setCheckAll] = useState(false);

useEffect(() => {
if (sessionStorage.getItem("terms-conditions") === "disabled") {
if (
sessionStorage.getItem("terms-conditions") === "disabled" ||
sessionStorage.getItem("terms-conditions") === null
) {
setShow(false);
} else {
setShow(true);
Expand Down

0 comments on commit f378d5f

Please sign in to comment.