fix color on even-row in results

This commit is contained in:
2024-01-21 09:34:56 +01:00
parent f0fb5232b9
commit bfa24de384

View File

@@ -384,7 +384,7 @@ watch(ccodes, (codes) => {
<span class="font-extrabold font-mono">Results <b v-if="itemCode">for {{ itemCode }}</b> </span> <span class="font-extrabold font-mono">Results <b v-if="itemCode">for {{ itemCode }}</b> </span>
</div> </div>
<div> <div>
<EasyTable :rows-per-page=25 :headers="hproducts" :items="tproducts" :body-row-class-name="bodyRowClassNameFunction" alternating> <EasyTable id="results" :rows-per-page=25 :headers="hproducts" :items="tproducts" :body-row-class-name="bodyRowClassNameFunction" alternating>
<template #item-countryName="{ countryName, url }"> <template #item-countryName="{ countryName, url }">
<a class="underline" target="_blank" :href="url">{{ countryName }}</a> <a class="underline" target="_blank" :href="url">{{ countryName }}</a>
</template> </template>
@@ -507,9 +507,14 @@ watch(ccodes, (codes) => {
width: 128px; width: 128px;
} }
:root .result-country { .result-country {
--easy-table-body-row-background-color: yellow !important; --easy-table-body-row-background-color: yellow !important;
} }
.even-row .result-country {
--easy-table-body-row-background-color: yellow !important;
}
</style> </style>
<style src="vue-multiselect/dist/vue-multiselect.css"></style> <style src="vue-multiselect/dist/vue-multiselect.css"></style>