Fix Photos page Reset button position
This commit is contained in:
@@ -410,7 +410,6 @@
|
|||||||
</Select>
|
</Select>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="filters__actions">
|
<div class="filters__actions">
|
||||||
{#if filtered}
|
{#if filtered}
|
||||||
@@ -423,6 +422,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="photos-page__content" bind:this={photosContentEl} style:--margin-sides="{sideMargins}px">
|
<section class="photos-page__content" bind:this={photosContentEl} style:--margin-sides="{sideMargins}px">
|
||||||
|
|||||||
@@ -381,35 +381,24 @@
|
|||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
right: 56px;
|
right: 20px;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reset link
|
// Reset link
|
||||||
.reset {
|
.reset {
|
||||||
margin-right: 16px;
|
padding: 0 12px;
|
||||||
padding: 0;
|
|
||||||
color: rgba($color-tertiary, 0.6);
|
color: rgba($color-tertiary, 0.6);
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
font-size: rem(14px);
|
font-size: rem(14px);
|
||||||
transition: color 0.3s;
|
transition: color 0.3s;
|
||||||
|
transform: translateZ(0);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $color-tertiary;
|
color: $color-tertiary;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Shuffle button
|
|
||||||
// .shuffle {
|
|
||||||
// display: flex;
|
|
||||||
// align-items: center;
|
|
||||||
// justify-content: center;
|
|
||||||
// height: 32px;
|
|
||||||
// background-color: $color-tertiary;
|
|
||||||
// padding: 0 16px;
|
|
||||||
// border-radius: 50vh;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user