Fix Photos page filters and reset button

Just remove photos from the filter label 🤭
This commit is contained in:
2022-09-27 09:25:05 +02:00
parent 594e8e976e
commit 0eca069eaf
2 changed files with 3 additions and 4 deletions

View File

@@ -392,13 +392,13 @@
options={[ options={[
{ {
value: 'latest', value: 'latest',
name: 'Latest photos', name: 'Latest',
default: true, default: true,
selected: filterSort === defaultSort selected: filterSort === defaultSort
}, },
{ {
value: 'oldest', value: 'oldest',
name: 'Oldest photos', name: 'Oldest',
selected: filterSort === 'oldest' selected: filterSort === 'oldest'
}, },
]} ]}

View File

@@ -5,6 +5,7 @@
margin-bottom: clamp(32px, 7.5vw, 96px); margin-bottom: clamp(32px, 7.5vw, 96px);
color: $color-text; color: $color-text;
text-align: center; text-align: center;
overflow: hidden;
// Title // Title
:global(h1) { :global(h1) {
@@ -365,14 +366,12 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
margin-top: 20px;
@include bp (sm) { @include bp (sm) {
position: absolute; position: absolute;
top: 50%; top: 50%;
right: 20px; right: 20px;
transform: translateY(-50%); transform: translateY(-50%);
margin-top: 0;
} }
// Reset link // Reset link