Skip to content

Commit 5f944ac

Browse files
example styling
1 parent 84e9bd4 commit 5f944ac

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

example/components/handler.vue

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<div class="justify-content-center jumbotron">
33
<div class="row">
44
<div class="col-1">
5-
<button class="btn btn-secondary button" @click="add">Add</button>
5+
<button
6+
class="btn btn-secondary button"
7+
@click="add"
8+
>Add</button>
69
</div>
710

811
<div class="col-7">
@@ -23,14 +26,25 @@
2326

2427
<span class="text">{{ element.name }} </span>
2528

26-
<input type="text" class="form-control" v-model="element.text" />
29+
<input
30+
type="text"
31+
class="form-control"
32+
v-model="element.text"
33+
/>
2734

28-
<i class="fa fa-times close" @click="removeAt(idx)"></i>
35+
<i
36+
class="fa fa-times close"
37+
@click="removeAt(idx)"
38+
></i>
2939
</li>
3040
</draggable>
3141
</div>
3242

33-
<rawDisplayer class="col-3" :value="list" title="List" />
43+
<rawDisplayer
44+
class="col-3"
45+
:value="list"
46+
title="List"
47+
/>
3448
</div>
3549
</div>
3650
</template>
@@ -77,9 +91,14 @@ export default {
7791
}
7892
.handle {
7993
float: left;
94+
padding-top: 8px;
95+
padding-bottom: 8px;
8096
}
97+
8198
.close {
8299
float: right;
100+
padding-top: 8px;
101+
padding-bottom: 8px;
83102
}
84103
85104
input {

0 commit comments

Comments
 (0)