-
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
@@ -153,7 +153,7 @@ const Overlay: FunctionComponent<Props> = ({ | |||
}, [showBanner, setBannerIsOpen]); | |||
|
|||
useEffect(() => { | |||
if (!experience || options.modalLinkId === "") { | |||
if (options.fidesEmbed || !experience || options.modalLinkId === "") { |
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!
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
.fides-modal-container
doesn't exist when things are embedded, so let's target the modal footer class instead.
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.
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 comment
The 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 comment
The 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 modal
in the name, I suppose.
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.
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. 👍
body { | ||
font-family: "Inter", sans-serif; | ||
color: #171923; | ||
font-size: 14px; | ||
} |
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.
fonts were all wonky on this page otherwise. This mimics the font choices of the Cookie House homepage.
fides Run #11312
Run Properties:
|
Project |
fides
|
Branch Review |
refs/pull/5566/merge
|
Run status |
Passed #11312
|
Run duration | 00m 54s |
Commit |
b9d49376eb ℹ️: Merge d19419b171c0f69125f18da2c906d9a6c377dc24 into ca8e8470f38218fd95d448e1cf64...
|
Committer | Jason Gill |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
4
|
View all changes introduced in this branch ↗︎ |
@@ -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 comment
The 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 comment
The reason will be displayed to describe this comment to others. Learn more.
weird, that was working for me. Try rebuilding/clearing your cache?
fides Run #11342
Run Properties:
|
Project |
fides
|
Branch Review |
main
|
Run status |
Passed #11342
|
Run duration | 00m 48s |
Commit |
c08f5ee834: Minor Demo fixes (#5566)
|
Committer | Jason Gill |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
4
|
Upgrade your plan to view test results. | |
View all changes introduced in this branch ↗︎ |
Some minor fixes for the Embedded Demo page.