Skip to content

Commit 317f75a

Browse files
committed
add the grid guides for demo page
1 parent d44a711 commit 317f75a

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/demo/app.vue

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div id="app">
3-
<div class="list" id="list">
3+
<div class="list grid" id="list">
44
<VueDragResize v-for="(rect, index) in rects"
55
:key="index"
66
:w="rect.width"
@@ -66,15 +66,21 @@
6666
background-color: white;
6767
}
6868
69+
/* grid of the main panel */
70+
.list.grid{
71+
background-image: linear-gradient(chocolate 1px,transparent 1px),linear-gradient(90deg,chocolate 1px,transparent 1px);
72+
background-size: 50px 50px;
73+
}
74+
6975
.box-shaddow {
7076
box-shadow: 10px 10px 15px 0px rgba(125,125,125,1);
7177
}
7278
</style>
7379

7480
<script>
7581
import VueDragResize from '../components/vue-drag-resize.vue';
76-
import toolbar from './components/toolbar/toolbar.vue';
77-
import './icons';
82+
import toolbar from './components/toolbar/toolbar.vue';
83+
import './icons';
7884
7985
export default {
8086
name: 'app',
@@ -133,4 +139,4 @@
133139
}
134140
}
135141
}
136-
</script>
142+
</script>

0 commit comments

Comments
 (0)