[styles] Void captions for leisure[!name].

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
Viktor Govako 2023-03-29 00:30:33 -03:00
parent 1bc9062ec7
commit c04ec1fa01
2 changed files with 3 additions and 2 deletions

View file

@ -463,11 +463,12 @@ area|z16-[leisure=garden][garden:type!=residential][name]::int_name
/*
If we define [name] styles, we should also define at least empty [!name] stub.
ToDo: Looks strange, but needed for current styles generator.
Specify text: none here, because we have generic z17-[leisure] declaration above.
*/
area|z14-[leisure=park][!name],
area|z14-[landuse=forest][!name],
area|z16-[leisure=garden][!name],
{}
{text: none}
area|z14-[landuse=forest][name]
{icon-image: nparkf-outline-s.svg;}

View file

@ -408,7 +408,7 @@ area|z14-[landuse=forest][name],
/* If we define [name] styles, we should also define at least empty [!name] stub. */
area|z14-[leisure=park][!name],
area|z14-[landuse=forest][!name],
{}
{text: none}
area|z14-[landuse=forest][name]
{icon-image: nparkf-outline-m.svg;}