diff --git a/assets/layers/usersettings/usersettings.json b/assets/layers/usersettings/usersettings.json
index 1d0feb47c..f7005a925 100644
--- a/assets/layers/usersettings/usersettings.json
+++ b/assets/layers/usersettings/usersettings.json
@@ -617,12 +617,14 @@
},
{
"id": "mangrove-keys",
- "classes": "flex flex-col",
+ "classes": "link-no-underline low-interaction p-2",
"render": {
"special": {
"type": "link",
"href": "data:application/json,{mangroveidentity}",
"download": "mangrove_private_key_{_name}",
+ "class": "button",
+
"text": {
"en": "Download the private key for your Mangrove Account",
"de": "Laden Sie den privaten Schlüssel für Ihr Mangrove-Konto herunter",
@@ -645,6 +647,7 @@
},
{
"id": "mangrove-key-import",
+ "classes": "low-interaction p-2",
"render": {
"special": {
"type": "import_mangrove_key",
@@ -901,6 +904,27 @@
}
]
},
+ {
+ "id": "debug-title",
+ "render": {
+ "en": "
Debugging options
"
+ }
+ },
+ {
+ "id": "clear_cache",
+ "classes": "low-interaction p-2",
+ "render": {
+ "special": {
+ "type": "clear_caches",
+ "text": {
+ "en": "Clear caches"
+ }
+ },
+ "after": {
+ "en": "Clearing the caches will delete locally downloaded data and code. You will remain logged in and your settings will be preserved. No data should be lost"
+ }
+ }
+ },
{
"id": "pending_changes",
"render": {
diff --git a/package.json b/package.json
index d0383e0ba..1c6541649 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "mapcomplete",
- "version": "0.44.14",
+ "version": "0.45.0",
"repository": "https://github.com/pietervdvn/MapComplete",
"description": "A small website to edit OSM easily",
"bugs": "https://github.com/pietervdvn/MapComplete/issues",
diff --git a/public/css/index-tailwind-output.css b/public/css/index-tailwind-output.css
index 4ff2caa99..a79a1a60f 100644
--- a/public/css/index-tailwind-output.css
+++ b/public/css/index-tailwind-output.css
@@ -993,6 +993,10 @@ video {
margin-right: 4rem;
}
+.mb-4 {
+ margin-bottom: 1rem;
+}
+
.mt-4 {
margin-top: 1rem;
}
@@ -1025,10 +1029,6 @@ video {
margin-right: 0.25rem;
}
-.mb-4 {
- margin-bottom: 1rem;
-}
-
.ml-1 {
margin-left: 0.25rem;
}
@@ -1221,14 +1221,14 @@ video {
height: 6rem;
}
-.h-full {
- height: 100%;
-}
-
.h-screen {
height: 100vh;
}
+.h-full {
+ height: 100%;
+}
+
.h-fit {
height: -webkit-fit-content;
height: -moz-fit-content;
@@ -3353,6 +3353,11 @@ video {
padding-right: 0.25rem;
}
+.py-8 {
+ padding-top: 2rem;
+ padding-bottom: 2rem;
+}
+
.px-3 {
padding-left: 0.75rem;
padding-right: 0.75rem;
@@ -4858,7 +4863,7 @@ a.link-underline {
-webkit-text-decoration: underline;
}
-.link-no-underline a {
+.link-no-underline a, a.link-no-underline {
text-decoration: none;
}
diff --git a/src/UI/Base/DynLink.svelte b/src/UI/Base/DynLink.svelte
index 68cb6a9b6..ce109c2db 100644
--- a/src/UI/Base/DynLink.svelte
+++ b/src/UI/Base/DynLink.svelte
@@ -1,5 +1,6 @@
+ {#if $icon}
+
+ {/if}
{@html $text}
diff --git a/src/UI/Base/LogoutButton.svelte b/src/UI/Base/LogoutButton.svelte
index 2b99623e1..6ca1d1c0d 100644
--- a/src/UI/Base/LogoutButton.svelte
+++ b/src/UI/Base/LogoutButton.svelte
@@ -9,7 +9,6 @@