fix: dark mode for lighter rows background

This commit is contained in:
2025-10-02 01:50:10 +02:00
parent 78e82df63d
commit 802da68576
+11 -2
View File
@@ -34,8 +34,9 @@
<!-- From 21.10 -->
<tr
v-for="(instruction, i) in store.orderData.instructions.slice(2)"
:style="{
'background-color': instruction.key.startsWith('218') ? '#eeece1' : 'inherit'
:class="{
'bg-lighter': instruction.key.startsWith('218'),
dark: store.orderDarkMode
}"
>
<td width="10%" class="order-instruction-number">
@@ -176,6 +177,14 @@ function calculateInputWidthByFieldName(fieldName: string) {
line-height: 2em;
text-align: justify;
}
tr.bg-lighter {
background-color: #eeece1;
}
tr.bg-lighter.dark {
background-color: #111;
}
}
.order-instruction-number {