Merge pull request #359 from bilalmirza74/main

Fix: minor UI issues
This commit is contained in:
Nevo David 2024-10-16 13:27:13 +07:00 committed by GitHub
commit b4976d5a30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -44,8 +44,8 @@ dayjs.extend(isBetween);
export const LayoutSettings = ({ children }: { children: ReactNode }) => {
const fetch = useFetch();
const {isGeneral} = useVariables();
const {backendUrl, billingEnabled} = useVariables();
const { isGeneral } = useVariables();
const { backendUrl, billingEnabled } = useVariables();
const load = useCallback(async (path: string) => {
return await (await fetch(path)).json();
}, []);

View File

@ -93,9 +93,9 @@ export const MediaBox: FC<{
}, [data]);
return (
<div className="fixed left-0 top-0 bg-primary/80 z-[300] w-full min-h-full p-[60px] animate-fade">
<div className="w-full h-full bg-sixth border-tableBorder border-2 rounded-xl pb-[20px] px-[20px] relative">
<div className="flex">
<div className="fixed left-0 top-0 bg-primary/80 z-[300] w-full min-h-full p-4 md:p-[60px] animate-fade">
<div className="max-w-[1000px] w-full h-full bg-sixth border-tableBorder border-2 rounded-xl pb-[20px] px-[20px] relative mx-auto">
<div className="flex flex-col">
<div className="flex-1">
<TopTitle title="Media Library" />
</div>