Add Fietsambassade logo to cyclofix; various svg- and css fixes

This commit is contained in:
Pieter Vander Vennet 2020-11-20 14:00:37 +01:00
parent 5e6f54f660
commit cd548ab04b
21 changed files with 332 additions and 59 deletions

View file

@ -33,7 +33,7 @@ export default class EditableTagRendering extends UIElement {
this.dumbMode = false;
if (this._configuration.question !== undefined) {
if (State.state.featureSwitchUserbadge.data) {
if (State.state?.featureSwitchUserbadge?.data) {
// 2.3em total width
const self = this;
this._editButton =

View file

@ -44,9 +44,13 @@ export class FeatureInfoBox extends UIElement {
return new Combine([
new Combine([this._title, this._titleIcons])
.SetClass("featureinfobox-titlebar"),
...this._renderings,
this._questionBox,
]).Render();
new Combine([
...this._renderings,
this._questionBox
]
).SetClass("featureinfobox-content"),
]).SetClass("featureinfobox")
.Render();
}
}