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

Retargeting question-info CSS #85

Merged
merged 4 commits into from
Jan 30, 2025

Conversation

RoyEJohnson
Copy link
Contributor

@RoyEJohnson RoyEJohnson commented Jan 15, 2025

Also removed Print.stories, since it had an invalid import
CORE-418

@RoyEJohnson RoyEJohnson requested a review from a team as a code owner January 15, 2025 19:27
@RoyEJohnson RoyEJohnson requested review from jomcarvajal and removed request for a team January 15, 2025 19:27
@RoyEJohnson RoyEJohnson force-pushed the fix-styling-for-question-info-heading branch from bd7e6d6 to cd9c8ad Compare January 15, 2025 19:41
@RoyEJohnson RoyEJohnson requested a review from jivey January 15, 2025 19:50
@RoyEJohnson
Copy link
Contributor Author

@jivey It looks like fixing the CSS target took care of the issue. Just wanted you to take a look to see if there might be anything else I missed.

@jivey
Copy link
Member

jivey commented Jan 16, 2025

Pulling down the branch, it looks like the h2 is using the default heading size:
image

Before the commit it looks like it was 1.8rem:
image

Copy link
Member

@jivey jivey left a comment

Choose a reason for hiding this comment

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

My bad, I added the font size feedback as a regular comment instead of a review. If we can fix the font size this looks good.

@RoyEJohnson RoyEJohnson force-pushed the fix-styling-for-question-info-heading branch from 5184b90 to 499f68f Compare January 29, 2025 17:08
@RoyEJohnson
Copy link
Contributor Author

Tom's comment about styling suggests that H2s should look like H2s, but maybe that's not what he's saying.
https://openstax.slack.com/archives/C07K4CU96N6/p1734539151616049?thread_ts=1734537492.544849&cid=C07K4CU96N6

@RoyEJohnson RoyEJohnson force-pushed the fix-styling-for-question-info-heading branch from d7964a1 to 33d0ea0 Compare January 29, 2025 17:26
@RoyEJohnson
Copy link
Contributor Author

I added a commit to have font size and margin inherit, rather than using the h2 font and margins.
image

@RoyEJohnson RoyEJohnson requested a review from jivey January 30, 2025 16:06
Copy link
Member

@jivey jivey left a comment

Choose a reason for hiding this comment

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

Looks good, I'm assuming this inherits the right size when rendered in assessments...

@RoyEJohnson RoyEJohnson merged commit bea6052 into main Jan 30, 2025
2 checks passed
@RoyEJohnson RoyEJohnson deleted the fix-styling-for-question-info-heading branch January 30, 2025 20:31
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.

3 participants