Skip to content

Commit f6a5cb2

Browse files
committed
move styles into component
1 parent 106eaf5 commit f6a5cb2

2 files changed

Lines changed: 11 additions & 12 deletions

File tree

src/App.vue

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,4 @@ export default {
5959
.font-mono {
6060
font-family: "Source Code Pro", monospace;
6161
}
62-
63-
.entity {
64-
display: inline-block;
65-
margin: 0.1rem !important;
66-
padding: 0.1rem;
67-
font-size: 75%;
68-
cursor: pointer;
69-
}
70-
.entity.concept {
71-
background-color: var(--entity-concept-bg-color);
72-
color: var(--entity-concept-text-color);
73-
}
7462
</style>

src/components/VideoEntities.vue

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,17 @@ export default {
8282
</script>
8383

8484
<style scoped>
85+
.entity {
86+
display: inline-block;
87+
margin: 0.1rem !important;
88+
padding: 0.1rem;
89+
font-size: 75%;
90+
cursor: pointer;
91+
}
92+
.entity.concept {
93+
background-color: var(--entity-concept-bg-color);
94+
color: var(--entity-concept-text-color);
95+
}
8596
.entity:hover {
8697
background-color: var(--highlight-bg-color);
8798
}

0 commit comments

Comments
 (0)