Skip to content

Commit d284826

Browse files
committed
Demo design tweaks
1 parent 642a05a commit d284826

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

demo-src/src/App.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ header {
5353
5454
section {
5555
.section-content {
56-
max-width: 560px;
57-
margin: auto;
56+
margin: 0 42px;
5857
padding: 64px 0;
5958
box-sizing: border-box;
6059
}
@@ -327,8 +326,7 @@ label input {
327326
328327
.demo,
329328
.snippets {
330-
max-width: 700px;
331-
margin: auto;
329+
margin: 0 42px;
332330
}
333331
334332
.snippets {
@@ -344,6 +342,8 @@ label input {
344342
345343
.section-content {
346344
text-align: center;
345+
max-width: 560px;
346+
margin: auto;
347347
}
348348
349349
h2 {

demo-src/src/PageHome.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
offset="16"
129129
:auto-hide="false"
130130
>
131-
<button class="tooltip-target b1">A button</button>
131+
<button class="tooltip-target b1">Target</button>
132132

133133
<template slot="popover">
134134
<input class="tooltip-content" v-model="msg" placeholder="Tooltip content" />
@@ -369,7 +369,7 @@ const componentSnippet4 = `
369369
offset="16"
370370
:auto-hide="false"
371371
>
372-
<button class="tooltip-target b1">A button</button>
372+
<button class="tooltip-target b1">Target</button>
373373
374374
<template slot="popover">
375375
<input class="tooltip-content" v-model="msg" placeholder="Tooltip content" />

0 commit comments

Comments
 (0)