Kartnåla tas ut av skjemaene for nå

Uten MAPBOX_TOKEN gir feltet en tom boks og null på hver rad, og i portal v0.10.3 lastes aldri kartet når noen går rett til spørsmålet. Feltet ligger klart på branchen kart-i-meldinger.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015TMMKWhj4225cSbXKhSz6e
This commit is contained in:
blandClaude Opus 5.5 committed 2026-11-01 20:04:02 +01:00
1 parent 538adc68f9
commit d80d761fa9
5 files changed
-21

No files matched your search

-8
View File
@@ -107,11 +107,3 @@ button:hover, .button:hover, input[type="submit"]:hover {
color: #9b9478;
opacity: 1;
}
/* A `type: location` field with no map behind it (no MAPBOX_TOKEN on the
instance) is an empty box and a label: portal v0.10.3 draws neither the
map nor the two number inputs its docs promise. The field is optional
here, so without a map it is simply not there. */
.field:has(> .map-wrap:empty) {
display: none;
}