Skip to content

Commit

Permalink
fix(fix bug modal): add flexbox in the section
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebraco committed Nov 21, 2022
1 parent e2705a2 commit af9d07b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
# - run: npm run build --if-present
# - run: npm test

publish:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions src/lib/components/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ const ContainerModal = styled.section`
`;

const ModalStyles = styled.div`
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background: ${(props) => props.backgroundModal || 'white'};
width: ${(props) => props.width || '500px'};
height: ${(props) => props.height || '300px'};
Expand Down

0 comments on commit af9d07b

Please sign in to comment.