Skip to content

Commit

Permalink
[chore] fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Neha committed Oct 28, 2024
1 parent 8d40227 commit ad77cbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions components/ProjectModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import React, { useEffect, useState } from 'react';
import { FiX, FiZap } from 'react-icons/fi';

Check failure on line 4 in components/ProjectModal/index.tsx

View workflow job for this annotation

GitHub Actions / Run ESLint, Prettier, and TypeScript compiler

Cannot find module 'react-icons/fi' or its corresponding type declarations.

Check failure on line 4 in components/ProjectModal/index.tsx

View workflow job for this annotation

GitHub Actions / Run ESLint, Prettier, and TypeScript compiler

Cannot find module 'react-icons/fi' or its corresponding type declarations.
import Modal from 'react-modal';
import { queryProjectbyId } from '../../api/supabase/queries/query';
import * as texts from '../../styles/texts';
import { Project } from '../../types/schema';
Expand Down Expand Up @@ -90,7 +89,7 @@ export default function ProjectModal({
<styles.AdditionalInfo>
<styles.DetailsContainer>
<texts.BodyText1>DETAILS</texts.BodyText1>
<styles.Divider /> {/* This is the new divider */}
<styles.Divider />
</styles.DetailsContainer>
<styles.AdditionalText>
<texts.BodyText1>{additional_information}</texts.BodyText1>
Expand Down
7 changes: 2 additions & 5 deletions components/ProjectModal/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import styled from 'styled-components';
import COLORS from '../../styles/colors';

export const ModalOverlay = styled.div`
width: 310px; //always the same
width: 310px;
height: 100%;
`;

Expand Down Expand Up @@ -72,7 +72,6 @@ export const projectImageStyles: CSSProperties = {
export const ProjectOverview = styled.div`
display: flex;
flex-direction: column;
width: 316px;
height: 129px;
margin-top: 9.5rem;
Expand All @@ -84,14 +83,12 @@ export const ProjectOverview = styled.div`
position: relative;
box-sizing: border-box;
padding: 1rem;
// gap: 5px;
`;

export const Developer = styled.div`
display: flex;
justify-content: space-between;
align-items: center; /* Aligns items vertically within the row */
//gap: 8px; /* Optional: Controls space between the text and button */
align-items: center;
`;

export const ProjectName = styled.div`
Expand Down

0 comments on commit ad77cbf

Please sign in to comment.