-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor Demo fixes #5566
Minor Demo fixes #5566
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -485,7 +485,7 @@ div#fides-consent-content .fides-modal-description { | |
justify-content: center; | ||
} | ||
|
||
.fides-modal-container .fides-button-group-brand { | ||
.fides-modal-footer .fides-button-group-brand { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since this component exists in both the modal and the embed, is it worth trying to rename it to something more generic or would that break too much stuff? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. which component are you referring to, the footer or the brand? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, the modal footer, that is. Or anything else that's getting used here that has There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I think eventually we'll want to rename everything as "layer1" and "layer2" instead for that reason. I don't think this now is the time to do that. 👍 |
||
min-height: var(--fides-overlay-modal-secondary-button-group-height); | ||
} | ||
|
||
|
@@ -1023,13 +1023,13 @@ div#fides-overlay-wrapper .fides-toggle .fides-toggle-display { | |
position: relative; | ||
} | ||
|
||
.fides-modal-container .fides-i18n-menu { | ||
.fides-modal-footer .fides-i18n-menu { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. weird, that was working for me. Try rebuilding/clearing your cache? |
||
position: absolute; | ||
left: var(--fides-overlay-padding); | ||
bottom: var(--fides-overlay-padding); | ||
} | ||
|
||
.fides-modal-container .fides-button-group-i18n { | ||
.fides-modal-footer .fides-button-group-i18n { | ||
min-height: var(--fides-overlay-modal-secondary-button-group-height); | ||
} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,17 @@ const IndexPage = ({ gtmContainerId, privacyCenterUrl }: Props) => { | |
{/* Require FidesJS to "embed" it's UI onto the page, instead of as an overlay over the <body> itself. (see https://ethyca.com/docs/dev-docs/js/reference/interfaces/FidesOptions#fides_embed) */} | ||
<script>{`window.fides_overrides = { fides_embed: true, fides_disable_banner: true }`}</script> | ||
{/* Allow the embedded consent modal to fill the screen */} | ||
<style>{`#fides-embed-container { --fides-overlay-width: 'auto' }`}</style> | ||
<style>{` | ||
#fides-embed-container { | ||
--fides-overlay-width: 'auto' | ||
} | ||
|
||
body { | ||
font-family: "Inter", sans-serif; | ||
color: #171923; | ||
font-size: 14px; | ||
} | ||
Comment on lines
+68
to
+72
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fonts were all wonky on this page otherwise. This mimics the font choices of the Cookie House homepage. |
||
`}</style> | ||
</Head> | ||
{/** | ||
Insert the fides.js script and run the GTM integration once ready | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't want to be constantly polling for a modal link when the CMP is embedded in the page!