Skip to content

Commit

Permalink
Fix article header sizes (#97242)
Browse files Browse the repository at this point in the history
  • Loading branch information
heavyweight authored Dec 9, 2024
1 parent 44fb816 commit b209dc6
Showing 1 changed file with 17 additions and 22 deletions.
39 changes: 17 additions & 22 deletions packages/help-center/src/components/help-center-article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,6 @@
}

.help-center-article-content__main {
h2 {
font-size: $font-title-small;
}

h3,
h4 {
font-size: $font-body;
}

h5 {
font-size: $font-body-small;
}

h2,
h3,
h4,
Expand Down Expand Up @@ -213,18 +200,26 @@
margin: 0 0 16px;
}

h2 {
font-size: rem(20px);
}

h3 {
font-size: $font-title-small;
font-size: rem(15px);
font-weight: 600;
margin: 0 0 8px;
}

h4 {
font-size: $font-title-small;
font-size: rem(13px);
font-weight: 600;
margin: 0 0 8px;
}

h5 {
font-size: rem(11px);
}

p,
> div {
margin: 0 0 24px;
Expand Down Expand Up @@ -457,7 +452,7 @@
margin-left: auto;
margin-right: auto;
}

.wpsupport3-tab__tablist {
display: flex;
align-items: center;
Expand All @@ -468,7 +463,7 @@

.wpsupport3-tab__title {
padding: 8px 0;

color: var( --blue-blue-50, #0675c4 );
font-size: $font-body;
line-height: 24px;
Expand All @@ -484,29 +479,29 @@
&:hover {
text-decoration: none;
}

&[aria-selected='true'] {
color: var( --gray-gray-100, #101517 );
border-bottom: 1px solid var( --gray-gray-100, #101517 );
}
}
}
}

.wp-block-wpsupport3-tab {
margin-top: 32px;
display: none;

&:not( [aria-hidden='true'] ) {
display: block;
animation: fadeIn 0.5s;
}

@keyframes fadeIn {
from {
opacity: 0;
}

to {
opacity: 1;
}
Expand Down

0 comments on commit b209dc6

Please sign in to comment.