hide parked map attribution, back link on activity page
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user