Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 553dcf4

Browse files
committed
fix: fix broken content layout
1 parent fb770fa commit 553dcf4

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

layouts/Post.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222
</script>
2323

2424
<style lang="stylus">
25+
@require '../styles/wrapper.styl';
26+
2527
.vuepress-blog-theme-content
28+
@extend $wrapper
2629
font-size 16px
2730
letter-spacing 0px
2831
font-family PT Serif, Serif

styles/config.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
$contentClass = '.vuepress-blog-theme-content'
2+
$contentClass = '.content__default'

styles/index.styl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ body
5858
overflow-y auto
5959

6060
{$contentClass}:not(.custom)
61-
@extend $wrapper
6261
> *:first-child
6362
margin-top $navbarHeight
6463

0 commit comments

Comments
 (0)