mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 16:52:31 +00:00
simplify tabs
This commit is contained in:
@@ -108,7 +108,7 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</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">
|
<ScrollArea orientation="horizontal" class="w-full h-full" scrollbarXClasses="h-2">
|
||||||
<div bind:this={tabs} class="flex flex-row gap-1">
|
<div bind:this={tabs} class="flex flex-row gap-1">
|
||||||
{#each $fileCollection.files as file, index}
|
{#each $fileCollection.files as file, index}
|
||||||
|
@@ -101,7 +101,11 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style lang="postcss">
|
<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;
|
@apply shadow-md;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -152,10 +156,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
div :global(.mapboxgl-ctrl-bottom-left) {
|
div :global(.mapboxgl-ctrl-bottom-left) {
|
||||||
@apply bottom-10;
|
@apply bottom-9;
|
||||||
}
|
}
|
||||||
|
|
||||||
div :global(.mapboxgl-ctrl-bottom-right) {
|
div :global(.mapboxgl-ctrl-bottom-right) {
|
||||||
@apply bottom-10;
|
@apply bottom-9;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@@ -16,9 +16,9 @@
|
|||||||
<Map class="h-full" />
|
<Map class="h-full" />
|
||||||
<LayerControl />
|
<LayerControl />
|
||||||
<Data />
|
<Data />
|
||||||
|
<FileList />
|
||||||
</div>
|
</div>
|
||||||
<div class="h-60 flex flex-row gap-2 overflow-hidden border">
|
<div class="h-60 flex flex-row gap-2 overflow-hidden border">
|
||||||
<FileList />
|
|
||||||
<GPXData />
|
<GPXData />
|
||||||
<ElevationProfile />
|
<ElevationProfile />
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user