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

Commitb7ca159

Browse files
committed
set max image width in the blog to 100%,fixes#23
1 parent26895da commitb7ca159

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