feat(admin): add server runtime config settings (#7618)

This commit is contained in:
JimmFly
2024-08-13 14:51:31 +08:00
committed by GitHub
parent 7f7c0519a0
commit bf6e36de37
17 changed files with 762 additions and 223 deletions

View File

@@ -55,7 +55,7 @@ export function CreateUserPanel() {
return (
<div className="flex flex-col h-full gap-1">
<div className="flex justify-between items-center py-[10px] px-6">
<div className="flex-grow-0 flex-shrink-0 h-[56px] flex justify-between items-center py-[10px] px-6">
<Button
type="button"
size="icon"

View File

@@ -61,7 +61,7 @@ export function DataTable<TData, TValue>({
}, [data]);
return (
<div className="space-y-4 py-5 px-6 h-full">
<div className="flex flex-col gap-4 py-5 px-6 h-full">
<DataTableToolbar setDataTable={setTableData} data={data} />
<ScrollArea className="rounded-md border max-h-[75vh] h-full">
<Table>

View File

@@ -71,7 +71,7 @@ export function EditPanel({
return (
<div className="flex flex-col h-full gap-1">
<div className="flex justify-between items-center py-[10px] px-6">
<div className="flex-grow-0 flex-shrink-0 h-[56px] flex justify-between items-center py-[10px] px-6 ">
<Button
type="button"
size="icon"