diff --git a/src/App.css b/src/App.css index 16c9a7f..8eeb486 100644 --- a/src/App.css +++ b/src/App.css @@ -191,6 +191,21 @@ background-color: black; } +.pages-layout { + width: 100%; + height: 100vh; + min-height: 450px; + display: flex; + flex-direction: column; + align-items: center; + justify-content: flex-start; + padding: 1.2rem; +} + +.tesla-logo-mobile { + display: none !important; +} + @media screen and (max-width: 767px) { .burger-menu { display: flex !important; @@ -285,6 +300,10 @@ .form-label { width: 100%; } + + .tesla-logo-mobile { + display: block; + } } @media screen and (min-width: 768px) and (max-width: 950px) { diff --git a/src/components/CarsCard/CarsCard.jsx b/src/components/CarsCard/CarsCard.jsx index 3d737c0..5ed00cc 100644 --- a/src/components/CarsCard/CarsCard.jsx +++ b/src/components/CarsCard/CarsCard.jsx @@ -10,6 +10,7 @@ import { useDispatch } from 'react-redux'; import PropTypes from 'prop-types'; import CarDetails from '../CarDetails/CarDetails'; import deleteCar from '../../redux/requests/deleteCar'; +import Logo from '../Sidebar/Logo'; const CarsCard = ({ cars, delete: isDeleteMode }) => { const dispatch = useDispatch(); @@ -46,6 +47,9 @@ const CarsCard = ({ cars, delete: isDeleteMode }) => { return (