Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fix_more_visual_thingies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
default: patch
---

Fix even more visual stuffs.
9 changes: 9 additions & 0 deletions src/app/components/message/modals/Options.css.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { style } from '@vanilla-extract/css';

export const UserQuickMenuButton = style({
selectors: {
'&:not(:hover)': {
background: 'transparent',
},
},
});
6 changes: 6 additions & 0 deletions src/app/components/message/modals/Options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ import {
useIsBookmarked,
} from '$features/bookmarks';
import { CopyIcon } from '@phosphor-icons/react';
import * as OptionsCss from './Options.css';

function WrappedMessage({
isModal,
Expand Down Expand Up @@ -368,6 +369,7 @@ export function OptionQuickMenu({
size="300"
radii="300"
aria-pressed={!!emojiBoardAnchor}
className={OptionsCss.UserQuickMenuButton}
>
{menuIcon(Smiley)}
</IconButton>
Expand All @@ -382,6 +384,7 @@ export function OptionQuickMenu({
variant="SurfaceVariant"
size="300"
radii="300"
className={OptionsCss.UserQuickMenuButton}
>
{menuIcon(ArrowBendUpLeftIcon)}
</IconButton>
Expand All @@ -395,6 +398,7 @@ export function OptionQuickMenu({
variant="SurfaceVariant"
size="300"
radii="300"
className={OptionsCss.UserQuickMenuButton}
>
{menuIcon(ChatCircleDots)}
</IconButton>
Expand All @@ -408,6 +412,7 @@ export function OptionQuickMenu({
variant="SurfaceVariant"
size="300"
radii="300"
className={OptionsCss.UserQuickMenuButton}
>
{menuIcon(PencilSimple)}
</IconButton>
Expand Down Expand Up @@ -442,6 +447,7 @@ export function OptionQuickMenu({
radii="300"
onClick={handleOpenMenu}
aria-pressed={!!menuAnchor}
className={OptionsCss.UserQuickMenuButton}
>
{menuIcon(DotsThreeOutlineVerticalIcon, {
weight: menuAnchor ? 'fill' : 'regular',
Expand Down
2 changes: 0 additions & 2 deletions src/app/features/navigate/NavigateModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,6 @@ export function RoomSearchModal({ requestClose, pickRoom, isMobile }: RoomSearch
<>
Type <b>#</b> for rooms, <b>@</b> for DMs and <b>*</b> for spaces. Hotkey:{' '}
<b>{isMacOS() ? KeySymbol.Command : 'Ctrl'} + k</b>
{' / '}
<b>{isMacOS() ? KeySymbol.Command : 'Ctrl'} + f</b>
</>
)}
</Text>
Expand Down
1 change: 1 addition & 0 deletions src/app/pages/client/home/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ export function Home() {
})}
</div>
</NavCategory>
{!isMobile && <div style={{ height: toRem(40) }} />}
</Box>
</PageNavContent>
)}
Expand Down
7 changes: 1 addition & 6 deletions src/app/pages/client/sidebar/UserMenuTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -695,12 +695,7 @@ export function UserMenuTab({ isBottom, isMobile }: { isBottom?: boolean; isMobi
}
>
<AvatarPresence badge={<PresenceBadge presence={currentPresence} size="200" />}>
<SidebarAvatar
size={isMobile ? '300' : '400'}
as="button"
onClick={handleToggle}
outlined={!isMobile}
>
<SidebarAvatar size={isMobile ? '300' : '400'} as="button" onClick={handleToggle}>
<UserAvatar
userId={userId}
src={avatarUrl}
Expand Down
Loading