Merge remote-tracking branch 'origin/main'

This commit is contained in:
Nevo David 2024-10-18 00:35:07 +07:00
commit 5aae28bdbc
4 changed files with 9 additions and 9 deletions

View File

@ -146,7 +146,7 @@ export const Filters = () => {
]);
return (
<div className="text-textColor flex gap-[8px] items-center select-none">
<div onClick={previous}>
<div onClick={previous} className="cursor-pointer">
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
@ -171,7 +171,7 @@ export const Filters = () => {
? `Week ${week.currentWeek}`
: `${dayjs().month(week.currentMonth).format('MMMM')}`}
</div>
<div onClick={next}>
<div onClick={next} className="cursor-pointer">
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"

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();
}, []);
@ -100,7 +100,7 @@ export const LayoutSettings = ({ children }: { children: ReactNode }) => {
{isGeneral ? (
<svg
width="80"
height="167"
height="75"
viewBox="0 0 366 167"
fill="none"
xmlns="http://www.w3.org/2000/svg"

View File

@ -15,7 +15,7 @@ const ModeComponent = () => {
}, [mode]);
return (
<div onClick={changeMode} className="select-none">
<div onClick={changeMode} className="select-none cursor-pointer">
{mode === 'dark' ? (
<svg
xmlns="http://www.w3.org/2000/svg"

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>