mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 15:43:25 +00:00
simplify tabs
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user