forked from MapComplete/MapComplete
Android: add inset spacers (experimental)
This commit is contained in:
parent
7ce320075d
commit
94949e14a6
5 changed files with 61 additions and 1 deletions
8
src/UI/Base/InsetSpacer.svelte
Normal file
8
src/UI/Base/InsetSpacer.svelte
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<script lang="ts">
|
||||
/**
|
||||
* in pixels
|
||||
*/
|
||||
export let height: Store<number>
|
||||
</script>
|
||||
|
||||
<div style={"height: "+$height+"px; background: red;"} />
|
||||
Loading…
Add table
Add a link
Reference in a new issue