Fix Photos page filters and reset button
Just remove photos from the filter label 🤭
This commit is contained in:
@@ -392,13 +392,13 @@
|
||||
options={[
|
||||
{
|
||||
value: 'latest',
|
||||
name: 'Latest photos',
|
||||
name: 'Latest',
|
||||
default: true,
|
||||
selected: filterSort === defaultSort
|
||||
},
|
||||
{
|
||||
value: 'oldest',
|
||||
name: 'Oldest photos',
|
||||
name: 'Oldest',
|
||||
selected: filterSort === 'oldest'
|
||||
},
|
||||
]}
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
margin-bottom: clamp(32px, 7.5vw, 96px);
|
||||
color: $color-text;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
|
||||
// Title
|
||||
:global(h1) {
|
||||
@@ -365,14 +366,12 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-top: 20px;
|
||||
|
||||
@include bp (sm) {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 20px;
|
||||
transform: translateY(-50%);
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
// Reset link
|
||||
|
||||
Reference in New Issue
Block a user