Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
newpanjing committed Aug 26, 2019
1 parent 17e9a5e commit 3a3da40
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
19 changes: 19 additions & 0 deletions static/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions static/css/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,25 @@
display: none;
}

.article .toc {
position: inherit !important;
max-width: 100% !important;

&:before {
content: "";
}
}

.content-wrap {
margin-top: 0px!important;

.breadcrumb {
display: none;
}
}
.aritcle-item .cover{
height: auto!important;
}
}

@media screen and (max-width: 500px) {
Expand Down Expand Up @@ -150,6 +169,11 @@ header .top {
.custom-page .block-main {
min-height: 500px;
}
.custom-page{
img{
max-width: 100%;
}
}

.footer {
/*padding: 30px;*/
Expand Down
1 change: 0 additions & 1 deletion templates/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ <h1 class="article-title">{{ article.title }}</h1>
class="glyphicon glyphicon-calendar"></span>{{ article.createDate|date:"Y-m-d" }}</span>
<span>
<span class="glyphicon glyphicon-pencil"></span>
{{ article.category.alias }}
<span>发表在 <a
href="{% url 'category_alias' article.category.alias %}">{{ article.category.name }}</a> </span>
</span>
Expand Down

0 comments on commit 3a3da40

Please sign in to comment.