Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
set max image width in the blog to 100%, fixes #23
  • Loading branch information
mireille-raad committed Nov 5, 2020
commit b7ca1598b7961836be7fc3457e3ebdabb7c3ee41
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<!-- content -->
<section>
<div class="w-md-80 m-auto">
<div class="w-md-80">
<div class="w-md-80 blog-content">
{{ content }}
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ ul.list-inline {
width: 100%;
}

.blog-content p > img {
max-width: 100%;
}

.post-date a {
background-color: #000;
color: #fff;
Expand Down