fix color on even-row in results
This commit is contained in:
@@ -384,7 +384,7 @@ watch(ccodes, (codes) => {
|
||||
<span class="font-extrabold font-mono">Results <b v-if="itemCode">for {{ itemCode }}</b> </span>
|
||||
</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 }">
|
||||
<a class="underline" target="_blank" :href="url">{{ countryName }}</a>
|
||||
</template>
|
||||
@@ -507,9 +507,14 @@ watch(ccodes, (codes) => {
|
||||
width: 128px;
|
||||
}
|
||||
|
||||
:root .result-country {
|
||||
.result-country {
|
||||
--easy-table-body-row-background-color: yellow !important;
|
||||
}
|
||||
|
||||
.even-row .result-country {
|
||||
--easy-table-body-row-background-color: yellow !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
<style src="vue-multiselect/dist/vue-multiselect.css"></style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user