diff --git a/assets/styles/base/forms.scss b/assets/styles/base/forms.scss index 8c71427..9f16c83 100644 --- a/assets/styles/base/forms.scss +++ b/assets/styles/base/forms.scss @@ -4,3 +4,8 @@ input, button { font-family: $primary-font; } + +input[type="search"] { + -webkit-appearance: none; + border-radius: 0; +} diff --git a/components/browseArchives/style.scss b/components/browseArchives/style.scss index b4d83f8..d1bc1c2 100644 --- a/components/browseArchives/style.scss +++ b/components/browseArchives/style.scss @@ -28,14 +28,17 @@ .browse-content-right { - @media (min-width: $monitor) { + @media (min-width: $desktop) { display: flex; flex-direction: column; - width: calculateRem($container-width); - padding: 0 calculateRem($container-padding); .interviews-wrap { order: 1; } } + + @media (min-width: $monitor) { + width: calculateRem($container-width); + padding: 0 calculateRem($container-padding); + } } diff --git a/components/interviews/interviewsList/style.scss b/components/interviews/interviewsList/style.scss index aff296c..e16d32a 100644 --- a/components/interviews/interviewsList/style.scss +++ b/components/interviews/interviewsList/style.scss @@ -3,7 +3,7 @@ .mob-interviews-link { display: flex; justify-content: space-between; - margin-bottom: calculateRem(24); + margin-bottom: calculateRem(32); @media (min-width: $desktop) { display: none; diff --git a/components/interviews/singleInterview/style.scss b/components/interviews/singleInterview/style.scss index 9e0b8c4..6c5fcc0 100644 --- a/components/interviews/singleInterview/style.scss +++ b/components/interviews/singleInterview/style.scss @@ -49,6 +49,7 @@ p { padding-left: calculateRem(16); position: relative; + margin-bottom: calculateRem(10); &::before { content: '\00B7'; diff --git a/components/modal/style.scss b/components/modal/style.scss index 0318b7e..1408a09 100644 --- a/components/modal/style.scss +++ b/components/modal/style.scss @@ -12,7 +12,10 @@ height: 100vh; z-index: 3; background-color: $navy-dark; - overflow: auto; + + /* enable smooth scrolling on mobile devices */ + overflow-y: scroll; + -webkit-overflow-scrolling: touch; } &.modal-on-mobile-only { @@ -42,7 +45,6 @@ .modal-inner { width: 100%; - height: 100%; padding-top: calculateRem(24); position: relative; @@ -54,7 +56,7 @@ .modal-close { position: fixed; top: calculateRem(16); - right: calculateRem(16); + right: calculateRem(12); z-index: 4; @media (min-width: $desktop) { diff --git a/components/searchBar/index.js b/components/searchBar/index.js index 3c214f2..9a9a707 100644 --- a/components/searchBar/index.js +++ b/components/searchBar/index.js @@ -6,7 +6,10 @@ import './style.scss'; const { publicRuntimeConfig } = getConfig(); const SearchBar = props => ( -