Last css tweaks
This commit is contained in:
parent
701ce3e89a
commit
3f2608524e
3 changed files with 10 additions and 4 deletions
|
@ -12,7 +12,7 @@ export default class Ornament extends UIElement {
|
|||
this.SetClass("ornament")
|
||||
const self = this;
|
||||
this.onClick(() => {
|
||||
self._index.setData((self._index.data + 1) % Ornament.ornamentsCount);
|
||||
self._index.setData((self._index.data + 1) % (Ornament.ornamentsCount + 1));
|
||||
|
||||
})
|
||||
}
|
||||
|
@ -28,7 +28,10 @@ export default class Ornament extends UIElement {
|
|||
}
|
||||
|
||||
InnerRender(): string {
|
||||
return Svg.All[`Ornament-Horiz-${this._index.data}.svg`]
|
||||
if(this._index.data == 0){
|
||||
return "<svg></svg>"
|
||||
}
|
||||
return Svg.All[`Ornament-Horiz-${this._index.data - 1}.svg`]
|
||||
}
|
||||
|
||||
}
|
|
@ -262,7 +262,10 @@ input:checked + label .question-option-with-border {
|
|||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
max-height: 2em;
|
||||
max-height: var(--return-to-the-map-height);
|
||||
position: fixed;
|
||||
width: 100vw;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.to-the-map-inner{
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
--popup-border: white;
|
||||
--shadow-color: #00000066;
|
||||
--variable-title-height: 0px; /* Set by javascript */
|
||||
--return-to-the-map-height: 5em;
|
||||
--return-to-the-map-height: 2em;
|
||||
}
|
||||
|
||||
html, body {
|
||||
|
|
Loading…
Reference in a new issue