Skip to content

Commit

Permalink
Fix cursor pointer issue in Settings page - prevent pointer symbol on…
Browse files Browse the repository at this point in the history
… hover (#10753)
  • Loading branch information
michael-020 authored Feb 24, 2025
1 parent 7749aba commit c269220
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Providers/HistoryAPIProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useLocationChange } from "raviger";
import { ReactNode, createContext, useState } from "react";

export const HistoryContext = createContext<string[]>([]);
// eslint-disable-next-line @typescript-eslint/no-empty-function

export const ResetHistoryContext = createContext(() => {});

export default function HistoryAPIProvider(props: { children: ReactNode }) {
Expand Down
6 changes: 3 additions & 3 deletions src/components/Facility/FacilityHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,12 @@ export const FacilityHome = ({ facilityId }: Props) => {
<div className="relative rounded-3xl h-full w-full bg-[radial-gradient(circle_at_50%_120%,rgba(255,255,255,0.2),transparent)]" />
)}
<div className="absolute bottom-0 left-0 translate-x-0 translate-y-1/3">
<Button variant="link">
<div className="sm:px-4 px-8 inline-flex rounded-md">
<Avatar
name={facilityData.name}
className="h-24 w-24 rounded-md border-4 border-white shadow-lg"
className="size-16 sm:size-20 md:size-24 rounded-md border-4 border-white shadow-lg"
/>
</Button>
</div>
</div>

<div className="absolute bottom-0 left-0 translate-x-0 ml-[8rem]">
Expand Down

0 comments on commit c269220

Please sign in to comment.