diff --git a/assets/css/header.css b/assets/css/header.css index e7e9fad..3e3a3b5 100644 --- a/assets/css/header.css +++ b/assets/css/header.css @@ -16,7 +16,6 @@ .header.is-open .header__mobile { display: block; - position: fixed; } .header__section { @@ -29,6 +28,9 @@ .header__mobile { display: none; + position: fixed; + top: 5rem; + left: 0; width: 100%; height: calc(100% - 4.75rem); background-color: var(--color-white); diff --git a/assets/css/layout.css b/assets/css/layout.css index 6d3af14..efb05b1 100644 --- a/assets/css/layout.css +++ b/assets/css/layout.css @@ -225,7 +225,6 @@ .section--preview.horizontal img { width: 90vh; height: 90vw; - transform: rotate(0deg); } /* .section--preview.horizontal .close--preview { @@ -259,9 +258,9 @@ } .section--preview img { - width: 90%; + width: 90vh; max-width: 100rem; - height: 90%; + height: 90vw; max-height: 56.25rem; object-fit: cover; box-shadow: var(--shadow-outset);