style: add whitespace-nowrap to standard table headers to prevent wrapping and lock header height to 49px
This commit is contained in:
@@ -30,10 +30,10 @@
|
||||
<table class="min-w-full divide-y divide-slate-800 text-left text-sm text-slate-300 relative">
|
||||
<thead class="shadow-[0_1px_0_0_rgba(255,255,255,0.05)]">
|
||||
<tr class="text-xs font-bold text-slate-400 uppercase tracking-wider">
|
||||
<th scope="col" class="sticky top-0 z-10 px-6 py-4 bg-[#162031]">Username</th>
|
||||
<th scope="col" class="sticky top-0 z-10 px-6 py-4 bg-[#162031]">Role</th>
|
||||
<th scope="col" class="sticky top-0 z-10 px-6 py-4 bg-[#162031]">Created At</th>
|
||||
<th scope="col" class="sticky top-0 z-10 px-6 py-4 bg-[#162031] text-right">Actions</th>
|
||||
<th scope="col" class="sticky top-0 z-10 px-6 py-4 bg-[#162031] whitespace-nowrap">Username</th>
|
||||
<th scope="col" class="sticky top-0 z-10 px-6 py-4 bg-[#162031] whitespace-nowrap">Role</th>
|
||||
<th scope="col" class="sticky top-0 z-10 px-6 py-4 bg-[#162031] whitespace-nowrap">Created At</th>
|
||||
<th scope="col" class="sticky top-0 z-10 px-6 py-4 bg-[#162031] text-right whitespace-nowrap">Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="divide-y divide-slate-800">
|
||||
|
||||
Reference in New Issue
Block a user