Skip to content

Commit

Permalink
fix(bottle): profile edit page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
stakbucks committed Oct 6, 2024
1 parent f2e0c48 commit d954ca7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/bottle/src/app/profile/edit/ProfileArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useCurrentUserProfileQuery } from '@/store/query/useCurrentUserProfileQ
import { Asset, Paragraph, spacings } from '@bottlesteam/ui';
import Link from 'next/link';
import { useMemo } from 'react';
import { profileItemLeftStyle, profileItemStyle } from './profileEditStyle.css';
import { profileItemLeftStyle, profileItemStyle, profileSelectListStyle } from './profileEditStyle.css';

export function ProfileArea() {
const {
Expand Down Expand Up @@ -84,7 +84,7 @@ export function ProfileArea() {

return (
<Card asChild style={{ marginTop: spacings.sm, marginBottom: spacings.xl }}>
<ul>
<ul className={profileSelectListStyle}>
{editProfileItems.map(({ title, description, endpoint }) => (
<Link href={endpoint} key={title}>
<li key={title} className={profileItemStyle} onClick={() => {}}>
Expand Down
7 changes: 7 additions & 0 deletions apps/bottle/src/app/profile/edit/profileEditStyle.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ export const introductionBoxStyle = style({
color: colors.neutral900,
backgroundColor: colors.purple100,
...typography.bo,
marginTop: spacings.xl,
});

export const profileSelectListStyle = style({
display: 'flex',
flexDirection: 'column',
gap: spacings.xl,
});

export const profileItemStyle = style({
Expand Down

0 comments on commit d954ca7

Please sign in to comment.