Merge pull request 'style/responsive-table' (#4) from style/responsive-table into main
All checks were successful
Update Memento Dev on VPS / deploy (push) Successful in 3m38s
All checks were successful
Update Memento Dev on VPS / deploy (push) Successful in 3m38s
Reviewed-on: #4
This commit is contained in:
commit
2f29df49b8
@ -80,7 +80,7 @@ export function PrevNextLinks() {
|
|||||||
if (!nextPage && !previousPage) return null;
|
if (!nextPage && !previousPage) return null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<dl className="mt-12 flex border-t border-slate-200 pt-6 dark:border-slate-800">
|
<dl className="mt-12 flex gap-4 border-t border-slate-200 pt-6 dark:border-slate-800">
|
||||||
{previousPage && <PageLink dir="previous" {...previousPage} />}
|
{previousPage && <PageLink dir="previous" {...previousPage} />}
|
||||||
{nextPage && <PageLink className="ml-auto text-right" {...nextPage} />}
|
{nextPage && <PageLink className="ml-auto text-right" {...nextPage} />}
|
||||||
</dl>
|
</dl>
|
||||||
|
|||||||
@ -51,6 +51,16 @@ const nodes = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
table: {
|
||||||
|
...defaultNodes.table,
|
||||||
|
attributes: {
|
||||||
|
...defaultNodes.table.attributes,
|
||||||
|
class: {
|
||||||
|
type: String,
|
||||||
|
default: "block max-w-full overflow-x-auto border-collapse text-sm",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
th: {
|
th: {
|
||||||
...defaultNodes.th,
|
...defaultNodes.th,
|
||||||
attributes: {
|
attributes: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user