Skip to content

Commit

Permalink
add px
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhauck committed Dec 7, 2023
1 parent 3f42e17 commit 0d5ae80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/map-layer-picker/map-layer-picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export class MapLayerPicker {
*/
render(): VNode {
const id = "map-layer-picker";
const style = this.height > 0 ? {"height": this.height.toString()} : {};
const style = this.height > 0 ? {"height": `${this.height.toString()}px`} : {};
return (
<Host>
<div class="map-layer-picker-container" style={style}>
Expand Down

0 comments on commit 0d5ae80

Please sign in to comment.