Skip to content

Commit

Permalink
修复归档文章名过长超出边界bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nqmysb2017 committed Mar 13, 2019
1 parent 9a04b24 commit 7708417
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions themes/huweihuang/layout/archive.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ layout: page
<!-- Main Content -->
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 archive ">
<!-- 归档列表 -->

<%
Expand Down Expand Up @@ -50,4 +50,27 @@ layout: page

</div>
</div>
</div>
</div>

<style type="text/css">
@media (min-width: 992px) {
.archive {
margin-left: 8.33333333%;
padding-right: 26.333333%;
}
}
</style>

<style type="text/css">
@media (min-width: 1200px){
.archive {
margin-left: 16.66666667%;
padding-right: 16.666667%;
}
}
</style>

1 comment on commit 7708417

@nqmysb
Copy link

@nqmysb nqmysb commented on 7708417 Mar 13, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修复归档文章名过长超出边界bug 效果如下:
image

Please sign in to comment.