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(headings): removed h1 styling #1326

Merged
merged 1 commit into from
Nov 20, 2023
Merged

fix(headings): removed h1 styling #1326

merged 1 commit into from
Nov 20, 2023

Conversation

fredrbus
Copy link
Contributor

Description

Removed some styling on the eds-h1 class that resulted in <Heading1> being rendered as smaller than it should be in some places. In the components where <Heading1> should actually be rendered smaller, it was replaced by <Heading2 as='h1'>, giving it the same size but correct semantics.

Copy link
Contributor

@lindtvedtsebastian lindtvedtsebastian left a comment

Choose a reason for hiding this comment

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

Skulle vi vurdert å bare bruke Heading1 i kombinasjon med en class som setter font størrelse? f.eks. text-rem-2 osv

@fredrbus fredrbus merged commit 7ad72b0 into master Nov 20, 2023
4 checks passed
@fredrbus fredrbus deleted the revert-h1-styling branch November 20, 2023 13:06
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