Skip to content

Commit a69c0be

Browse files
committed
ShopData: Fix CSS rules leaking into other components
1 parent 0d97fb3 commit a69c0be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ShopData.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</div>
1313
</section>
1414
</template>
15-
<style>
15+
<style scoped>
1616
.table {
1717
color: white;
1818
display: table;
@@ -21,7 +21,7 @@
2121
.table-row {
2222
display: table-row;
2323
}
24-
.cell {
24+
.table-row .cell {
2525
display: table-cell;
2626
}
2727
</style>

0 commit comments

Comments
 (0)