add min width for delete button, dropdown dakrtheme

This commit is contained in:
fadingNA
2024-11-09 16:59:00 -05:00
parent 0837295bd3
commit e00c6f2c14
3 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ const Pagination: React.FC<PaginationProps> = ({
<select
value={rowsPerPage}
onChange={(e) => onRowsPerPageChange(Number(e.target.value))}
className="border border-gray-300 rounded px-2 py-1"
className="border border-gray-300 rounded px-2 py-1 dark:bg-transparent dark:text-gray-50"
>
{rowsPerPageOptions.map((option) => (
<option key={option} value={option}>

View File

@@ -50,7 +50,7 @@ body.dark {
@layer components {
.table-default {
@apply block w-full mx-auto table-fixed content-start justify-center rounded-xl border border-silver dark:border-silver/40 text-center dark:text-bright-gray overflow-auto;
@apply block w-full mx-auto table-auto content-start justify-center rounded-xl border border-silver dark:border-silver/40 text-center dark:text-bright-gray overflow-auto;
}
.table-default th {

View File

@@ -199,7 +199,7 @@ const Documents: React.FC<DocumentsProps> = ({ handleDeleteDocument }) => {
{document.type === 'remote' ? 'Pre-loaded' : 'Private'}
</td>
<td>
<div className="flex flex-row items-center">
<div className="min-w-[70px] flex flex-row items-end justify-end ml-auto">
{document.type !== 'remote' && (
<img
src={Trash}