Skip to content

Commit f167c6a

Browse files
committed
61
1 parent a1fa418 commit f167c6a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/components/TodoForm.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
>
1818
<div
1919
v-if="subjectError"
20-
style="color: red"
20+
class="text-red"
2121
>
2222
{{subjectError}}
2323
</div>
@@ -192,6 +192,8 @@ export default {
192192
}
193193
</script>
194194

195-
<style>
196-
195+
<style scoped>
196+
.text-red {
197+
color: red;
198+
}
197199
</style>

0 commit comments

Comments
 (0)