Skip to content

Commit

Permalink
Update CSS and heading tags in blog views. (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw authored Dec 12, 2023
1 parent c47ea62 commit 7285ce3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/Framework/resource/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,9 @@ a:hover,a:focus {
.bs-orange-bg {
background-color:#fd9843 !important
}
.text-justify {
text-align:justify !important
}
pre {
display: block;
padding: 9.5px;
Expand Down
4 changes: 2 additions & 2 deletions src/UseCase/Blog/view/category/_posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
A::widget()
->content(
H::widget()
->class('font-weight-bold mb-3')
->class('fs-4 font-weight-bold mb-3 text-justify')
->content($post->title)
->tagName('h4')
->tagName('h1')
)
->href(Url::to(['blog/post', 'slug' => $post->slug])),
Div::widget()
Expand Down
4 changes: 2 additions & 2 deletions src/UseCase/Blog/view/posts/_posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
A::widget()
->content(
H::widget()
->class('font-weight-bold mb-3')
->class('fs-4 font-weight-bold mb-3 text-justify')
->content($post->title)
->tagName('h4')
->tagName('h1')
)
->href(Url::to(['blog/post', 'slug' => $post->slug])),
Div::widget()
Expand Down

0 comments on commit 7285ce3

Please sign in to comment.