diff --git a/src/app/components/pin-detail/pin-detail.component.css b/src/app/components/pin-detail/pin-detail.component.css index cdbae04..e9e4a02 100644 --- a/src/app/components/pin-detail/pin-detail.component.css +++ b/src/app/components/pin-detail/pin-detail.component.css @@ -27,11 +27,33 @@ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); padding: 2.5rem; - max-width: 48rem; - width: 100%; + max-width: 80vw; + max-height: 80vh; + width: 80vw; + height: 80vh; transition: box-shadow 0.3s ease-in-out; + display: flex; + flex-direction: column; } .card-pin-detail:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); } + +.carousel-max { + width: 90vw; + height: 90vh; + max-width: 90vw; + max-height: 90vh; + display: flex; + align-items: center; + justify-content: center; +} + +.carousel-flex { + flex: 1 1 auto; + min-height: 0; + display: flex; + align-items: center; + justify-content: center; +} diff --git a/src/app/components/pin-detail/pin-detail.component.html b/src/app/components/pin-detail/pin-detail.component.html index 4c479d0..b0cbe7d 100644 --- a/src/app/components/pin-detail/pin-detail.component.html +++ b/src/app/components/pin-detail/pin-detail.component.html @@ -1,5 +1,5 @@ -