forked from MapComplete/MapComplete
Improvements to the climbing theme
This commit is contained in:
parent
a9aff5e16e
commit
5a94e9d239
6 changed files with 65 additions and 47 deletions
|
@ -64,8 +64,10 @@ export default class FeatureInfoBox extends ScrollableFullScreen {
|
|||
const title = new TagRenderingAnswer(tags, layerConfig.title ?? new TagRenderingConfig("POI"), state)
|
||||
.SetClass("break-words font-bold sm:p-0.5 md:p-1 sm:p-1.5 md:p-2 text-2xl");
|
||||
const titleIcons = new Combine(
|
||||
layerConfig.titleIcons.map(icon => new TagRenderingAnswer(tags, icon, state,
|
||||
"block w-8 h-8 max-h-8 align-baseline box-content sm:p-0.5 w-10",)
|
||||
layerConfig.titleIcons.map(icon => {
|
||||
return new TagRenderingAnswer(tags, icon, state,
|
||||
"block h-8 max-h-8 align-baseline box-content sm:p-0.5").SetClass("flex");
|
||||
}
|
||||
))
|
||||
.SetClass("flex flex-row flex-wrap pt-0.5 sm:pt-1 items-center mr-2")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue