Skip to content

Commit

Permalink
fix theme
Browse files Browse the repository at this point in the history
  • Loading branch information
swantzter committed Jul 15, 2024
1 parent 74d9a25 commit 71d9820
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/views/qualifiers/Display.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
<template v-for="qualifier, idx of qualifiers" :key="qualifier.id">
<div
:style="`--station-col: ${idxToPos(idx).col}; --station-row: ${idxToPos(idx).row}`"
class="flex h-full items-center justify-end col-start-[var(--station-col,1)] row-start-[calc(var(--station-row,1)+1)] bg-white p-2"
class="flex h-full items-center justify-end col-start-[var(--station-col,1)] row-start-[calc(var(--station-row,1)+1)] p-2"
:class="{
'bg-white': theme !== 'dark',
'bg-black': theme === 'dark'
}"
>
<img
v-if="qualifier.countryCode != null"
Expand All @@ -37,7 +41,11 @@
</div>
<div
:style="`--station-col: ${idxToPos(idx).col}; --station-row: ${idxToPos(idx).row}`"
class="col-start-[calc(var(--station-col,1)+1)] row-start-[calc(var(--station-row,1)+1)] text-4xl bg-white p-6"
class="h-full col-start-[calc(var(--station-col,1)+1)] row-start-[calc(var(--station-row,1)+1)] text-4xl p-6"
:class="{
'bg-white': theme !== 'dark',
'bg-black': theme === 'dark'
}"
>
<p class="font-bold">
{{ formatList(qualifier.names) }}
Expand Down

0 comments on commit 71d9820

Please sign in to comment.