simplify tabs
This commit is contained in:
parent
1237e9ab0d
commit
9bde53a4e2
3 changed files with 9 additions and 5 deletions
|
@ -108,7 +108,7 @@
|
|||
});
|
||||
</script>
|
||||
|
||||
<div class="absolute h-10 -translate-y-10 w-fit max-w-full bg-secondary rounded-t">
|
||||
<div class="h-10 -translate-y-10 w-full">
|
||||
<ScrollArea orientation="horizontal" class="w-full h-full" scrollbarXClasses="h-2">
|
||||
<div bind:this={tabs} class="flex flex-row gap-1">
|
||||
{#each $fileCollection.files as file, index}
|
||||
|
|
|
@ -101,7 +101,11 @@
|
|||
</div>
|
||||
|
||||
<style lang="postcss">
|
||||
div :global(.mapboxgl-ctrl) {
|
||||
div :global(.mapboxgl-map) {
|
||||
@apply font-sans;
|
||||
}
|
||||
|
||||
div :global(.mapboxgl-ctrl-top-right > .mapboxgl-ctrl) {
|
||||
@apply shadow-md;
|
||||
}
|
||||
|
||||
|
@ -152,10 +156,10 @@
|
|||
}
|
||||
|
||||
div :global(.mapboxgl-ctrl-bottom-left) {
|
||||
@apply bottom-10;
|
||||
@apply bottom-9;
|
||||
}
|
||||
|
||||
div :global(.mapboxgl-ctrl-bottom-right) {
|
||||
@apply bottom-10;
|
||||
@apply bottom-9;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
<Map class="h-full" />
|
||||
<LayerControl />
|
||||
<Data />
|
||||
<FileList />
|
||||
</div>
|
||||
<div class="h-60 flex flex-row gap-2 overflow-hidden border">
|
||||
<FileList />
|
||||
<GPXData />
|
||||
<ElevationProfile />
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue