Skip to content

Commit aba4afc

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

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/demo/app.vue

Lines changed: 8 additions & 2 deletions
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,6 +66,12 @@
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
}
@@ -133,4 +139,4 @@
133139
}
134140
}
135141
}
136-
</script>
142+
</script>

0 commit comments

Comments
 (0)