Innhold og bilder fra tomtervel.no #9
@@ -107,3 +107,11 @@ 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;
|
||||
}
|
||||
Reference in new issue
Block a user