forked from MapComplete/MapComplete
More climbing styling
This commit is contained in:
parent
9086713657
commit
a22ff2f36b
5 changed files with 91 additions and 89 deletions
|
@ -217,9 +217,18 @@
|
|||
],
|
||||
"label": {
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"climbing:grade:french~*",
|
||||
"name~*"
|
||||
]
|
||||
},
|
||||
"then": "<div class='w-max p-1 rounded-xl' style='background: white;'>{name} <span class='climbing-{__difficulty:char}'>{climbing:grade:french}</span></div>"
|
||||
},
|
||||
{
|
||||
"if": "name~*",
|
||||
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
|
||||
"then": "<div class='w-max p-1 rounded-xl' style='background: white;'>{name}</div>"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue