Auto commit: 2026-03-12T07:37:03.246Z
This commit is contained in:
parent
bfdf88c0b0
commit
adcbb26cbf
BIN
assets/pasted-20260312-073441-30f2a796.png
Normal file
BIN
assets/pasted-20260312-073441-30f2a796.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 192 KiB |
@ -58,7 +58,7 @@ export default function AsideMenuLayer({ menu, className = '', ...props }: Props
|
||||
return (
|
||||
<aside
|
||||
id='asideMenu'
|
||||
className={`${className} zzz lg:py-2 lg:pl-2 w-60 fixed flex z-40 top-0 h-screen transition-position overflow-hidden`}
|
||||
className={`${className} zzz lg:py-2 lg:pl-2 w-60 fixed flex z-40 top-0 h-screen transition-position overflow-hidden lg:relative lg:translate-x-0 translate-x-0`}
|
||||
>
|
||||
<div
|
||||
className={`flex-1 flex flex-col overflow-hidden dark:bg-dark-900 ${asideStyle} ${corners}`}
|
||||
|
||||
@ -11,7 +11,7 @@ type Props = {
|
||||
};
|
||||
|
||||
const BaseButtons = ({
|
||||
type = 'justify-end',
|
||||
type = 'justify-start md:justify-end',
|
||||
mb = '-mb-3',
|
||||
classAddon = 'mr-3 last:mr-0 mb-3',
|
||||
noWrap = false,
|
||||
|
||||
@ -4,12 +4,12 @@
|
||||
}
|
||||
|
||||
thead {
|
||||
@apply hidden lg:table-header-group;
|
||||
@apply hidden md:table-header-group;
|
||||
}
|
||||
|
||||
tr {
|
||||
@apply max-w-full block relative border-b-4 border-gray-100
|
||||
lg:table-row lg:border-b-0 dark:border-slate-800;
|
||||
md:table-row md:border-b-0 dark:border-slate-800;
|
||||
}
|
||||
|
||||
tr:last-child {
|
||||
@ -17,11 +17,11 @@
|
||||
}
|
||||
|
||||
td:not(:first-child) {
|
||||
@apply lg:border-l lg:border-t-0 lg:border-r-0 lg:border-b-0 lg:border-gray-100 lg:dark:border-slate-700;
|
||||
@apply md:border-l md:border-t-0 md:border-r-0 md:border-b-0 md:border-gray-100 md:dark:border-slate-700;
|
||||
}
|
||||
|
||||
th {
|
||||
@apply lg:text-left lg:p-3 border-b;
|
||||
@apply md:text-left md:p-3 border-b;
|
||||
}
|
||||
|
||||
th.sortable {
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
td {
|
||||
@apply flex justify-between text-right py-3 px-4 align-top border-b border-gray-100
|
||||
lg:table-cell lg:text-left lg:p-3 lg:align-middle lg:border-b-0 dark:border-slate-800 dark:text-white;
|
||||
md:table-cell md:text-left md:p-3 md:align-middle md:border-b-0 dark:border-slate-800 dark:text-white;
|
||||
}
|
||||
|
||||
td:last-child {
|
||||
@ -54,16 +54,16 @@
|
||||
}
|
||||
|
||||
tbody tr, tbody tr:nth-child(odd) {
|
||||
@apply lg:hover:bg-pavitra-300/70;
|
||||
@apply md:hover:bg-pavitra-300/70;
|
||||
}
|
||||
|
||||
tbody tr:nth-child(even) {
|
||||
@apply lg:bg-pavitra-300 dark:bg-pavitra-300/70;
|
||||
@apply md:bg-pavitra-300 dark:bg-pavitra-300/70;
|
||||
}
|
||||
|
||||
td:before {
|
||||
content: attr(data-label);
|
||||
@apply font-semibold pr-3 text-left lg:hidden;
|
||||
@apply font-semibold pr-3 text-left md:hidden;
|
||||
}
|
||||
|
||||
tbody tr td {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user