ill stop playing around with the minutia

This commit is contained in:
Shea Duma committed 2026-05-05 04:21:50 +03:00
1 parent fb988dd20f
commit 1345a0b41e
3 files changed
+8 -34

No files matched your search

+1 -5
View File
@@ -84,11 +84,7 @@ export function UserHero({ userId, avatarUrl, bannerUrl, presence, autoplayGifs
undefined;
return (
<Box
direction="Column"
className={css.UserHero}
style={{ backgroundColor: backgroundColor }}
>
<Box direction="Column" className={css.UserHero} style={{ backgroundColor: backgroundColor }}>
<div
className={css.UserHeroCoverContainer}
style={{
@@ -526,7 +526,7 @@ export function UserRoomProfile({ userId, initialProfile }: Readonly<UserRoomPro
direction="Column"
gap="300"
style={{
padding: config.space.S200,
padding: renderUserCards && innerColor ? config.space.S200 : config.space.S0,
backgroundColor,
}}
>
@@ -539,11 +539,15 @@ export function UserRoomProfile({ userId, initialProfile }: Readonly<UserRoomPro
borderWidth: toRem(5),
borderColor: '#00000000',
borderStyle: 'solid',
padding: config.space.S200,
padding: renderUserCards && innerColor ? config.space.S200 : config.space.S300,
}}
>
<Box gap="200" alignItems="Center" wrap="Wrap">
<UserHeroName displayName={displayName} userId={userId} customHeroCards={renderUserCards}/>
<UserHeroName
displayName={displayName}
userId={userId}
customHeroCards={renderUserCards}
/>
{userId !== myUserId && (
<Button
size="300"
-26
View File
@@ -1,26 +0,0 @@
import { useMemo } from 'react';
import { ShowRoomIcon } from '$state/settings';
export type MessageLayoutItem = {
name: string;
layout: ShowRoomIcon;
};
export const useShowRoomIcon = (): MessageLayoutItem[] =>
useMemo(
() => [
{
layout: ShowRoomIcon.Always,
name: 'Always',
},
{
layout: ShowRoomIcon.Smart,
name: 'Smart',
},
{
layout: ShowRoomIcon.Never,
name: 'Never',
},
],
[]
);