Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix
Browse files Browse the repository at this point in the history
tyleroooo committed Jul 23, 2024
1 parent 30029ba commit 495679a
Showing 2 changed files with 2 additions and 13 deletions.
4 changes: 1 addition & 3 deletions src/pages/Profile.tsx
Original file line number Diff line number Diff line change
@@ -419,6 +419,4 @@ const $InlineRow = styled.div`
gap: 0.5rem;
`;

const $PanelButton = styled(Panel)`
--panel-paddingY: 0 --panel-paddingX: 0;
`;
const $PanelButton = tw(Panel)`[--panel-paddingY:0] [--panel-paddingX:0] `;
11 changes: 1 addition & 10 deletions src/views/menus/NotificationsMenu.tsx
Original file line number Diff line number Diff line change
@@ -123,7 +123,7 @@ export const NotificationsMenu = ({
<$TriggerContainer>
{slotTrigger}
{hasUnreadNotifications && (
<$UnreadIndicator tw="relative right-[-0.2rem] top-[-0.325rem] place-self-center" />
<div tw="relative right-[-0.2rem] top-[-0.325rem] h-0.5 w-0.5 place-self-center rounded-[50%] border border-solid border-layer-2 bg-accent" />
)}
</$TriggerContainer>
}
@@ -170,15 +170,6 @@ const $ComboboxDialogMenu = styled(ComboboxDialogMenu)`
box-shadow: none;
}
`;

const $UnreadIndicator = styled.div`
width: 0.5rem;
height: 0.5rem;
border-radius: 50%;
background-color: var(--color-accent);
border: 1px solid var(--color-layer-2);
`;

const $TriggerContainer = styled.div`
${layoutMixins.stack}
`;

0 comments on commit 495679a

Please sign in to comment.