Skip to content

Commit b4976d5

Browse files
authored
Merge pull request #359 from bilalmirza74/main
Fix: minor UI issues
2 parents 44d2111 + ca2ec51 commit b4976d5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

apps/frontend/src/components/layout/layout.settings.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ dayjs.extend(isBetween);
4444

4545
export const LayoutSettings = ({ children }: { children: ReactNode }) => {
4646
const fetch = useFetch();
47-
const {isGeneral} = useVariables();
48-
const {backendUrl, billingEnabled} = useVariables();
47+
const { isGeneral } = useVariables();
48+
const { backendUrl, billingEnabled } = useVariables();
4949
const load = useCallback(async (path: string) => {
5050
return await (await fetch(path)).json();
5151
}, []);

apps/frontend/src/components/media/media.component.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ export const MediaBox: FC<{
9393
}, [data]);
9494

9595
return (
96-
<div className="fixed left-0 top-0 bg-primary/80 z-[300] w-full min-h-full p-[60px] animate-fade">
97-
<div className="w-full h-full bg-sixth border-tableBorder border-2 rounded-xl pb-[20px] px-[20px] relative">
98-
<div className="flex">
96+
<div className="fixed left-0 top-0 bg-primary/80 z-[300] w-full min-h-full p-4 md:p-[60px] animate-fade">
97+
<div className="max-w-[1000px] w-full h-full bg-sixth border-tableBorder border-2 rounded-xl pb-[20px] px-[20px] relative mx-auto">
98+
<div className="flex flex-col">
9999
<div className="flex-1">
100100
<TopTitle title="Media Library" />
101101
</div>

0 commit comments

Comments
 (0)