tmpl(users): add table zebra striping [skip ci]
This commit is contained in:
parent
180229d0c8
commit
08b49f5731
@ -1,3 +1,9 @@
|
|||||||
@tailwind base;
|
@tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
|
@layer utilities {
|
||||||
|
.striped tr:nth-child(even) {
|
||||||
|
@apply bg-gray-100 dark:bg-gray-800
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="p-2 mt-3 border-2 dark:border-slate-500 rounded-sm overflow-x-auto">
|
<div class="p-2 mt-3 border-2 dark:border-slate-500 rounded-sm overflow-x-auto">
|
||||||
<table class="text-center text-gray-500 dark:text-gray-300 w-full">
|
<table class="text-center text-gray-500 dark:text-gray-300 w-full striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col" class="md:p-2 sm:p-0 text-slate-600 dark:text-slate-400">Username</th>
|
<th scope="col" class="md:p-2 sm:p-0 text-slate-600 dark:text-slate-400">Username</th>
|
||||||
|
Loading…
Reference in New Issue
Block a user