Skip to content

Commit

Permalink
fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloud11PL committed Jul 31, 2024
1 parent c5b06f0 commit 386d933
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,3 @@ body {
.noBorder {
border: none;
}

.staff-avatar:hover .avatar-hover {
opacity: 1;
}
7 changes: 4 additions & 3 deletions src/staff/components/StaffProperties/StaffProperties.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ const StaffProperties: React.FC<StaffPropertiesProps> = props => {
position="relative"
__height="120px"
__width="120px"
className="staff-avatar"
>
{hasAvatar ? (
<Box as="img" pointerEvents="none" width="100%" src={staffMember.avatar.url} />
Expand All @@ -101,9 +100,11 @@ const StaffProperties: React.FC<StaffPropertiesProps> = props => {
)}
{canEditAvatar && (
<Box
className="avatar-hover"
borderRadius="100%"
opacity="0"
opacity={{
hover: "1",
default: "0",
}}
position="absolute"
padding={4}
__height="120px"
Expand Down

0 comments on commit 386d933

Please sign in to comment.