Skip to content

Commit

Permalink
优化专题页移动端样式
Browse files Browse the repository at this point in the history
  • Loading branch information
yafoo committed Aug 22, 2022
1 parent 1cc0166 commit 2a2c477
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/view/special_special.htm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@
<link href="/static/common/bmap/1.0.1.css" rel="stylesheet">
{{/if}}
{{if special.page_width}}
<style>.container { width: {{special.page_width}};}</style>
<style>
@media screen and (min-width: 961px) {
.container {
width: {{special.page_width}};
}
}
</style>
{{/if}}
{{/block}}

Expand Down Expand Up @@ -106,7 +112,6 @@ <h1>{{special.title}}</h1>
</el-bmap>
</div>
{{/if}}
<hr class="m-hr" />

{{/each}}
</main>
Expand Down

0 comments on commit 2a2c477

Please sign in to comment.