Skip to content

Commit

Permalink
Added bare-bones foundation for project modal component
Browse files Browse the repository at this point in the history
  • Loading branch information
jjstnlee committed Oct 7, 2024
1 parent 278bd4f commit 8837554
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
7 changes: 5 additions & 2 deletions components/ProjectModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,11 @@ export default function ProjectModal({
<div>{project_name}</div>
</div>
<div>{size}</div>
DETAILS
<div>{additional_info}</div>
<div style={styles.additionalInfoStyles}>
DETAILS
<br></br>
{additional_info}
</div>
</Modal>
</div>
);
Expand Down
12 changes: 11 additions & 1 deletion components/ProjectModal/styles.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
import { CSSProperties } from 'react';

export const modalOverlayStyles: CSSProperties = {
///
width: '310px',
height: '100%',
};

export const modalContentStyles: CSSProperties = {
display: 'flex',
width: '360px',
height: '100%',
top: '0',
bottom: '0',
left: '0',
right: '0',
flexShrink: 0,
flexDirection: 'column',
alignItems: 'center',
Expand Down Expand Up @@ -40,3 +46,7 @@ export const developerStyles: CSSProperties = {
display: 'flex',
justifyContent: 'space-between',
};

export const additionalInfoStyles: CSSProperties = {
width: '315px',
};

0 comments on commit 8837554

Please sign in to comment.