Skip to content

Commit 47c15df

Browse files
authored
fix: render polls correctly in darkmode (#10027)
1 parent 03e8477 commit 47c15df

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

client/components/Polls.vue

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,21 @@ onMounted(() => {
9090
})
9191
</script>
9292

93+
<style lang="scss">
94+
@import '../shared/colors.scss';
95+
96+
[data-bs-theme="dark"] .polls {
97+
tr,
98+
th,
99+
td {
100+
background-color: $gray-900 !important;
101+
color: $gray-300 !important;
102+
border-color: $gray-500 !important;
103+
border-width: 0.05 !important;
104+
}
105+
106+
td:hover {
107+
background-color: $cyan-600 !important;
108+
}
109+
}
110+
</style>

0 commit comments

Comments
 (0)