Skip to content

Commit

Permalink
setting max-width on profile editing form 🥁
Browse files Browse the repository at this point in the history
  • Loading branch information
dysbulic committed Jan 24, 2022
1 parent ced4bef commit 05c333f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/components/Player/Section/PlayerHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export const PlayerHero: React.FC<Props> = ({
<Modal {...{ isOpen, onClose }}>
<ModalOverlay />
<ModalContent
maxW={['100%', '80%']}
maxW={['100%', 'min(80%, 60rem)']}
backgroundImage={`url(${BackgroundImage})`}
bgSize="cover"
bgAttachment="fixed"
Expand Down
1 change: 1 addition & 0 deletions packages/web/lib/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const set = (key: string, value: string): void => {
if (typeof window === 'undefined') return;
localStorage.setItem(key, value);
};

export const remove = (key: string): void => {
if (typeof window === 'undefined') return;
localStorage.removeItem(key);
Expand Down

0 comments on commit 05c333f

Please sign in to comment.