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;
|
||||
|
||||
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} />}
|
||||
{nextPage && <PageLink className="ml-auto text-right" {...nextPage} />}
|
||||
</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: {
|
||||
...defaultNodes.th,
|
||||
attributes: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user