diff options
Diffstat (limited to 'src/components/List.vue')
| -rw-r--r-- | src/components/List.vue | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/components/List.vue b/src/components/List.vue index 031f708..f1ef690 100644 --- a/src/components/List.vue +++ b/src/components/List.vue @@ -3,8 +3,7 @@ <li v-for="item in items" :key="item.id" - @click="$emit('selectionChanged', item)" - class="list-item"> + @click="$emit('selectionChanged', item)"> <slot :item="item">{{ item }}</slot> </li> </ul> @@ -25,17 +24,7 @@ export default { <style scoped> .list { list-style-type: none; -} - -.list-item { - border: 1px solid grey; - border-radius: 5px; - margin: 5px 0; - padding: 0.15em; - text-align: center; -} - -.list-item:hover { - background-color: rgb(182, 182, 182); + margin: 0; + padding: 0; } </style> |
