Fix: overflow of Media Library and cursor-pointer on launches page

This commit is contained in:
bilalmirza74 2024-10-14 19:46:04 +05:30
parent 12f0c448a7
commit ca2ec515c5
3 changed files with 6 additions and 6 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();
}, []);
@ -132,7 +132,7 @@ export const LayoutSettings = ({ children }: { children: ReactNode }) => {
) : (
<div />
)}
<div className="flex items-center gap-[8px] cursor-pointer">
<div className="flex items-center gap-[8px]">
<ModeComponent />
<SettingsComponent />
<NotificationComponent />

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"