Add gray 50 background for even equipment table items
This commit is contained in:
@@ -19,7 +19,7 @@ const equipment = Astro.props.equipment;
|
||||
<table class="w-fit text-lg">
|
||||
<tbody>
|
||||
{ equipment.items.map((item, index: number) => (
|
||||
<tr class="odd:bg-gray-100 even:bg-white my-2">
|
||||
<tr class="odd:bg-gray-100 even:bg-gray-50 my-2">
|
||||
<th class={`text-right pr-4 py-0.5 leading-tight ps-4 ${index === 0 && "rounded-tl-2xl"} ${(index + 1) === equipment.items.length && "rounded-bl-2xl"}`}>
|
||||
<div class="flex flex-row justify-end items-center gap-1.5">
|
||||
{ item.icon !== null && (
|
||||
|
||||
Reference in New Issue
Block a user