Skip to content

Commit

Permalink
add the grid guides for demo page
Browse files Browse the repository at this point in the history
  • Loading branch information
hinak0 committed Oct 13, 2022
1 parent d44a711 commit 317f75a
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/demo/app.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div id="app">
<div class="list" id="list">
<div class="list grid" id="list">
<VueDragResize v-for="(rect, index) in rects"
:key="index"
:w="rect.width"
Expand Down Expand Up @@ -66,15 +66,21 @@
background-color: white;
}
/* grid of the main panel */
.list.grid{
background-image: linear-gradient(chocolate 1px,transparent 1px),linear-gradient(90deg,chocolate 1px,transparent 1px);
background-size: 50px 50px;
}
.box-shaddow {
box-shadow: 10px 10px 15px 0px rgba(125,125,125,1);
}
</style>

<script>
import VueDragResize from '../components/vue-drag-resize.vue';
import toolbar from './components/toolbar/toolbar.vue';
import './icons';
import toolbar from './components/toolbar/toolbar.vue';
import './icons';
export default {
name: 'app',
Expand Down Expand Up @@ -133,4 +139,4 @@
}
}
}
</script>
</script>

0 comments on commit 317f75a

Please sign in to comment.