Fix Photos page Reset button position

This commit is contained in:
2022-08-31 18:42:04 +02:00
parent a4c42cd366
commit 5444d21404
2 changed files with 13 additions and 24 deletions

View File

@@ -410,7 +410,6 @@
</Select>
</li>
</ul>
</div>
<div class="filters__actions">
{#if filtered}
@@ -423,6 +422,7 @@
{/if}
</div>
</div>
</div>
</section>
<section class="photos-page__content" bind:this={photosContentEl} style:--margin-sides="{sideMargins}px">

View File

@@ -381,35 +381,24 @@
@include bp (sm) {
position: absolute;
top: 50%;
right: 56px;
right: 20px;
transform: translateY(-50%);
margin-top: 0;
}
// Reset link
.reset {
margin-right: 16px;
padding: 0;
padding: 0 12px;
color: rgba($color-tertiary, 0.6);
font-weight: 900;
font-size: rem(14px);
transition: color 0.3s;
transform: translateZ(0);
&:hover {
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;
// }
}