Skip to content

Commit 3d1cd05

Browse files
committed
Adjust documentation layout.
1 parent ffaf47d commit 3d1cd05

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/documentation/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@
9393
a(id="installation" name="installation")
9494
p You have two options: #[em.mr1 NPM] or #[span.ml1.code <script>] tag.
9595
h3.mt12 Via NPM
96-
.mt6.w-flex.align-center.mt2.xs-column.xs-align-start
97-
ssh-pre.my0(language="shell") npm i vueperslides # Vue 3.
96+
p.w-flex.align-center.mt6.xs-column.xs-align-start.shrink
97+
ssh-pre.ma0(language="shell") npm i vueperslides # Vue 3.
9898
span.mx6 or
99-
ssh-pre.my0(language="shell") npm i vueperslides@legacy # Vue 2.
99+
ssh-pre.ma0(language="shell") npm i vueperslides@legacy # Vue 2.
100100
p.mt4 Then import the 2 components and use it:
101101
ssh-pre(language="js" label="Javascript").
102102
// In your Vue.js component.

src/scss/_base.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ code {
6565
margin-right: auto !important;
6666
}
6767

68+
.ssh-pre.ma0, .ssh-pre.mx0 {
69+
margin-left: 0 !important;
70+
margin-right: 0 !important;
71+
}
72+
6873
.pale-blue {color: #1471b8;}
6974

7075
.w-button {

0 commit comments

Comments
 (0)