Fix Photos page filters and reset button
Just remove photos from the filter label 🤭
This commit is contained in:
@@ -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'
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user