Skip to content

Commit

Permalink
fix: fix ui
Browse files Browse the repository at this point in the history
  • Loading branch information
nichenqin committed Sep 19, 2024
1 parent 19ee74a commit 63ac8d7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
let open: Record<string, boolean> = {}
</script>

<nav class="grid items-start gap-1 px-1.5 text-sm font-medium">
<nav class="items-start gap-1 px-1.5 text-sm font-medium">
<a
href={`/s/b/${shareId}`}
class={cn(
Expand All @@ -56,7 +56,7 @@
<a
href={`/s/b/${shareId}/t/${table.id}`}
class={cn(
"text-primary flex h-full flex-1 items-center font-light",
"text-primary flex h-full flex-1 items-center overflow-hidden font-light",
active && !viewId && "text-background font-medium",
)}
>
Expand Down
1 change: 1 addition & 0 deletions apps/frontend/src/routes/(share)/s/b/[shareId]/+layout.gql
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ query GetShareBaseData($shareId: ID!) {
name
type
isDefault
aggregate
grid {
widths
}
Expand Down
4 changes: 2 additions & 2 deletions apps/frontend/src/routes/(share)/s/b/[shareId]/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
{/if}
</button> -->
</div>
<ScrollArea class="flex-1">
<div class="w-full flex-1 overflow-y-auto">
<ShareBaseNav {base} />
</ScrollArea>
</div>
</div>
</Resizable.Pane>
<Resizable.Handle />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ query GetBaseTableShareData($shareId: ID!, $tableId: ID!) {
isDefault
fields
type
aggregate
grid {
widths
}
Expand Down
1 change: 1 addition & 0 deletions apps/frontend/src/routes/(share)/s/v/[shareId]/+layout.gql
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ query GetViewShareData($shareId: ID!) {
name
type
fields
aggregate
option {
showSystemFields
}
Expand Down

0 comments on commit 63ac8d7

Please sign in to comment.