Skip to content

Commit

Permalink
fix: updates text font-size to text-md css class
Browse files Browse the repository at this point in the history
  • Loading branch information
rabira-hierpa committed Sep 23, 2023
1 parent 77f3b14 commit 64d03d9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/components/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -595,3 +595,8 @@ pre tt:after {
font-size: 100%;
}
}

h2.wp-block-heading {
font-size: 2.25rem !important;
line-height: 1.1 !important;
}
8 changes: 8 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,11 @@ body {
.hide-scroll-bar::-webkit-scrollbar {
display: none;
}

h2.wp-block-heading{
font-size: 2.5rem;
line-height: 1.1;
}
p{
font-size: 1 rem !important;
}
2 changes: 1 addition & 1 deletion src/templates/blog-post.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const BlogPostTemplate = ({ data: { previous, next, post } }) => {
{!!post.content && (
<section
itemProp="articleBody"
className="flex flex-wrap space-y-10 text-justify"
className="flex flex-wrap space-y-10 text-justify text-md md:text-lg"
>
{parse(post.content)}
</section>
Expand Down

0 comments on commit 64d03d9

Please sign in to comment.