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

feat(cxl-ui): decrease instructor bio font size #407

Closed
wants to merge 1 commit into from

Conversation

anoblet
Copy link
Collaborator

@anoblet anoblet commented Apr 25, 2024

@anoblet anoblet requested review from lkraav and pawelkmpt April 25, 2024 18:30
@anoblet anoblet force-pushed the anoblet/feat/instructor branch from a80df6f to 14f7bf2 Compare April 25, 2024 18:31
Copy link

github-actions bot commented Apr 25, 2024

size-limit report 📦

Path Size
packages/cxl-ui/pkg/dist-web/cxl-ui.js 74.42 KB (+0.02% 🔺)
packages/cxl-ui/pkg/dist-web/cxl-ui-jwplayer.js 11.89 KB (0%)
packages/cxl-ui/pkg/dist-web/cxl-ui-playbooks.js 30.98 KB (0%)
packages/cxl-ui/pkg/dist-web/vendor.js 140.5 KB (0%)
packages/cxl-ui/pkg/dist-web/cxl-ui-jwplayer.js, packages/cxl-ui/pkg/dist-web/cxl-ui-playbooks.js, packages/cxl-ui/pkg/dist-web/cxl-ui.js, packages/cxl-ui/pkg/dist-web/manifest.js, packages/cxl-ui/pkg/dist-web/unresolved.js, packages/cxl-ui/pkg/dist-web/vendor.js 258.95 KB (+0.01% 🔺)

Copy link

@pawelkmpt pawelkmpt left a comment

Choose a reason for hiding this comment

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

For 320px suggested size is still too big. Please make it smaller by default and for bigger media queries increase the size.

Screenshot 2024-04-26 at 12 50 13

@anoblet
Copy link
Collaborator Author

anoblet commented Apr 26, 2024

The majority of the devices used on our site, are above 360px. @pawelkmpt and I both took a look in GA, and came to the conclusion that supporting 320px is not needed.

@anoblet anoblet requested a review from pawelkmpt April 26, 2024 13:54
Copy link

@pawelkmpt pawelkmpt left a comment

Choose a reason for hiding this comment

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

Looking good 👍

I just noticed .instructor-bio styles are inlined in View so added this rule there: https://cxl.com/institute/wp-admin/admin.php?page=views-editor&view_id=1218087

@pawelkmpt pawelkmpt closed this Apr 26, 2024
@pawelkmpt pawelkmpt deleted the anoblet/feat/instructor branch April 26, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants