Skip to content
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

fix(surveys): fix description background style #1070

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

jurajmajerik
Copy link
Contributor

Changes

Not sure why the opacity was there in the first place, any ideas?

Before
Screenshot 2024-03-11 at 16 07 48

After
(white bg)
Screenshot 2024-03-11 at 16 10 36

(default/blank bg)
Screenshot 2024-03-11 at 16 11 39

@jurajmajerik jurajmajerik requested a review from neilkakkar March 11, 2024 15:18
Copy link

Size Change: -56 B (0%)

Total Size: 852 kB

Filename Size Change
dist/surveys-module-previews.js 62 kB -28 B (0%)
dist/surveys.js 58.3 kB -28 B (0%)
ℹ️ View Unchanged
Filename Size
dist/array.full.js 182 kB
dist/array.js 124 kB
dist/es.js 124 kB
dist/exception-autocapture.js 12.1 kB
dist/module.js 124 kB
dist/recorder-v2.js 106 kB
dist/recorder.js 58.7 kB

compressed-size-action

@@ -135,8 +135,7 @@ export const style = (appearance: SurveyAppearance | null) => {
}
.description {
font-size: 13px;
margin-top: 5px;
opacity: .60;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iirc this makes photos dimmer, like in this one -> https://us.posthog.com/project/2/surveys/018d3daf-6594-0000-4279-c8bf22b7f6ed -> but indeed doesn't make much sense to me, and people should be able to edit their css to make images lighter if they want to.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and the preview doesn't have the opacity set either 🤦

@jurajmajerik jurajmajerik merged commit e45f2a7 into main Mar 11, 2024
14 checks passed
@jurajmajerik jurajmajerik deleted the survey-background-fix branch March 11, 2024 16:56
@jurajmajerik jurajmajerik added the bump patch Bump patch version when this PR gets merged label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump patch Bump patch version when this PR gets merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants