hide parked map attribution, back link on activity page

This commit is contained in:
Vincent van der Wal
2026-07-22 12:51:14 +02:00
parent 5f526a46ce
commit 3919ac9eea
2 changed files with 20 additions and 0 deletions
+3
View File
@@ -302,7 +302,10 @@
left: 0; left: 0;
width: 720px; width: 720px;
height: 440px; height: 440px;
/* visibility alone leaks maplibre children that set their own visibility */
visibility: hidden; visibility: hidden;
opacity: 0;
overflow: hidden;
pointer-events: none; pointer-events: none;
z-index: -1; z-index: -1;
} }
+17
View File
@@ -37,6 +37,8 @@
<title>{a.name} · Streba</title> <title>{a.name} · Streba</title>
</svelte:head> </svelte:head>
<a class="back" href="/">← Overview</a>
<div class="head"> <div class="head">
<div> <div>
<h1>{a.name}</h1> <h1>{a.name}</h1>
@@ -102,6 +104,21 @@
{/if} {/if}
<style> <style>
.back {
display: inline-block;
margin-bottom: 0.75rem;
font-size: 0.85rem;
font-weight: 500;
color: var(--text-secondary);
text-decoration: none;
padding: 0.25rem 0.6rem;
margin-left: -0.6rem;
border-radius: 0.45rem;
}
.back:hover {
background: var(--wash);
color: var(--text-primary);
}
.head { .head {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;