table beautification complete

This commit is contained in:
Erin
2019-07-27 17:16:21 -05:00
parent 394fdeb6aa
commit 65461a14cc
4 changed files with 57 additions and 97 deletions

View File

@@ -4,7 +4,7 @@
.cards(v-if="cardsShown")
template(v-for='resource in category.resources')
Card(:title='resource.title' :desc='resource.desc' :url='resource.url')
.table(v-if="!cardsShown")
table(v-if="!cardsShown")
TableHead(:title="'Welcome'" :desc="'Description'" :url="'URL'")
template(v-for='resource in category.resources')
TableRow(:title='resource.title' :desc='resource.desc' :url='resource.url')
@@ -36,4 +36,10 @@ export default {
},
components: { Card, TableHead, TableRow }
};
</script>
</script>
<style lang="scss" scoped>
table {
width: 100%;
}
</style>