diff --git a/src/routes/photos/+page.svelte b/src/routes/photos/+page.svelte index e090919..087d182 100644 --- a/src/routes/photos/+page.svelte +++ b/src/routes/photos/+page.svelte @@ -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' }, ]} diff --git a/src/style/pages/_photos.scss b/src/style/pages/_photos.scss index b727fa7..c4428b2 100644 --- a/src/style/pages/_photos.scss +++ b/src/style/pages/_photos.scss @@ -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