Skip to content

Commit

Permalink
create listings from collection
Browse files Browse the repository at this point in the history
  • Loading branch information
NickJ202 committed Jun 21, 2024
1 parent 71ab20f commit 7a41277
Show file tree
Hide file tree
Showing 8 changed files with 300 additions and 257 deletions.
1 change: 1 addition & 0 deletions src/components/atoms/FormField/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const TWrapper = styled.div`
align-items: center;
padding: 0 2.5px 0 0;
button {
padding: 4.5px 0 0 0;
svg {
margin: 0 0 1.5px 0;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/atoms/IconButton/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const Primary = styled.button<{
display: flex;
justify-content: center;
align-items: center;
padding: 4.5px 0 0 0;
padding: 3.5px 0 0 0;
pointer-events: ${(props) => (props.disabled ? 'none' : 'all')};
border-radius: 50%;
Expand Down
10 changes: 8 additions & 2 deletions src/components/molecules/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ import React from 'react';
import { IconButton } from 'components/atoms/IconButton';
import { Portal } from 'components/atoms/Portal';
import { ASSETS, DOM } from 'helpers/config';
import { useLanguageProvider } from 'providers/LanguageProvider';

import * as S from './styles';
import { IProps } from './types';

export default function Modal(props: IProps) {
const languageProvider = useLanguageProvider();
const language = languageProvider.object[languageProvider.current];

React.useEffect(() => {
hideDocumentBody();
return () => {
Expand Down Expand Up @@ -50,9 +54,11 @@ export default function Modal(props: IProps) {
handlePress={() => props.handleClose()}
active={false}
dimensions={{
wrapper: 35,
icon: 15,
wrapper: 33.5,
icon: 12.5,
}}
tooltip={language.close}
useBottomToolTip
/>
</S.Close>
)}
Expand Down
Loading

0 comments on commit 7a41277

Please sign in to comment.