Skip to content

Commit

Permalink
Fix post img overflow (#369)
Browse files Browse the repository at this point in the history
* update add subtilte to header

* remove address from footer

* fix img overflow

* fix img overflow

* update
  • Loading branch information
helight committed Sep 24, 2022
1 parent 828b65f commit bc73bc0
Show file tree
Hide file tree
Showing 9 changed files with 49 additions and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h4>{{ i18n "contactTitle" }}</h4>

{{ .Site.Params.address | safeHTML }}

<a href="{{ default "/contact" .Site.Params.contact_url }}" class="btn btn-small btn-template-main">{{ i18n "contactGoTo" }}</a>
<a href="{{ default "/contact" .Site.Params.contact_url }}" class="btn btn-small btn-template-main">{{ i18n "contactGoTo" }}</a>

<hr class="hidden-md hidden-lg hidden-sm">

Expand Down
6 changes: 6 additions & 0 deletions static/css/style.blue.css
Original file line number Diff line number Diff line change
Expand Up @@ -2183,6 +2183,12 @@ fieldset[disabled] .btn-template-primary.active {
#blog-post #post-content {
margin-bottom: 20px;
}
#blog-post #post-content img{
max-width: 100%;
height: auto;
display: block;
margin: auto;
}
#blog-post .comment {
margin-bottom: 25px;
}
Expand Down
6 changes: 6 additions & 0 deletions static/css/style.default.css
Original file line number Diff line number Diff line change
Expand Up @@ -2183,6 +2183,12 @@ fieldset[disabled] .btn-template-primary.active {
#blog-post #post-content {
margin-bottom: 20px;
}
#blog-post #post-content img{
max-width: 100%;
height: auto;
display: block;
margin: auto;
}
#blog-post .comment {
margin-bottom: 25px;
}
Expand Down
6 changes: 6 additions & 0 deletions static/css/style.green.css
Original file line number Diff line number Diff line change
Expand Up @@ -2183,6 +2183,12 @@ fieldset[disabled] .btn-template-primary.active {
#blog-post #post-content {
margin-bottom: 20px;
}
#blog-post #post-content img{
max-width: 100%;
height: auto;
display: block;
margin: auto;
}
#blog-post .comment {
margin-bottom: 25px;
}
Expand Down
6 changes: 6 additions & 0 deletions static/css/style.marsala.css
Original file line number Diff line number Diff line change
Expand Up @@ -2183,6 +2183,12 @@ fieldset[disabled] .btn-template-primary.active {
#blog-post #post-content {
margin-bottom: 20px;
}
#blog-post #post-content img{
max-width: 100%;
height: auto;
display: block;
margin: auto;
}
#blog-post .comment {
margin-bottom: 25px;
}
Expand Down
6 changes: 6 additions & 0 deletions static/css/style.pink.css
Original file line number Diff line number Diff line change
Expand Up @@ -2183,6 +2183,12 @@ fieldset[disabled] .btn-template-primary.active {
#blog-post #post-content {
margin-bottom: 20px;
}
#blog-post #post-content img{
max-width: 100%;
height: auto;
display: block;
margin: auto;
}
#blog-post .comment {
margin-bottom: 25px;
}
Expand Down
6 changes: 6 additions & 0 deletions static/css/style.red.css
Original file line number Diff line number Diff line change
Expand Up @@ -2183,6 +2183,12 @@ fieldset[disabled] .btn-template-primary.active {
#blog-post #post-content {
margin-bottom: 20px;
}
#blog-post #post-content img{
max-width: 100%;
height: auto;
display: block;
margin: auto;
}
#blog-post .comment {
margin-bottom: 25px;
}
Expand Down
6 changes: 6 additions & 0 deletions static/css/style.turquoise.css
Original file line number Diff line number Diff line change
Expand Up @@ -2183,6 +2183,12 @@ fieldset[disabled] .btn-template-primary.active {
#blog-post #post-content {
margin-bottom: 20px;
}
#blog-post #post-content img{
max-width: 100%;
height: auto;
display: block;
margin: auto;
}
#blog-post .comment {
margin-bottom: 25px;
}
Expand Down
6 changes: 6 additions & 0 deletions static/css/style.violet.css
Original file line number Diff line number Diff line change
Expand Up @@ -2183,6 +2183,12 @@ fieldset[disabled] .btn-template-primary.active {
#blog-post #post-content {
margin-bottom: 20px;
}
#blog-post #post-content img{
max-width: 100%;
height: auto;
display: block;
margin: auto;
}
#blog-post .comment {
margin-bottom: 25px;
}
Expand Down

0 comments on commit bc73bc0

Please sign in to comment.