Skip to content

Commit

Permalink
modal fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Victoria-Fedkova committed Sep 21, 2023
1 parent 9696fda commit 9fb7e74
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/components/CarDetails/CarDetails.styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ import styled from 'styled-components';
export const CarDetailsWraper = styled.div`
background-color: #fff;
border-radius: 24px;
padding: 40px;
max-width: 541px;
padding: 18px;
min-width: 335px;
width: 100%;
position: relative;
color: #121417;
@media (min-width: 768px) {
max-width: 541px;
padding: 40px;
}
& button {
padding: 0;
margin: 0;
Expand All @@ -26,7 +31,7 @@ export const CarDetailsWraper = styled.div`
& img {
display: block;
width: 100%;
min-width: 100%;
max-height: 248px;
border-radius: 14px;
object-fit: cover;
Expand Down

0 comments on commit 9fb7e74

Please sign in to comment.