Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5108a4b

Browse files
Merge pull request#25 from mainsail-org/mir/img-fix
set image max-width in the blog to 100%,fixes#23
2 parents26895da +b7ca159 commit5108a4b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

‎_layouts/post.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<!-- content -->
1818
<section>
1919
<divclass="w-md-80 m-auto">
20-
<divclass="w-md-80">
20+
<divclass="w-md-80 blog-content">
2121
{{ content }}
2222
</div>
2323
</div>

‎assets/style.css‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@ ul.list-inline {
206206
width:100%;
207207
}
208208

209+
.blog-contentp>img {
210+
max-width:100%;
211+
}
212+
209213
.post-datea {
210214
background-color:#000;
211215
color:#fff;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp