Skip to content

Commit

Permalink
fixing style
Browse files Browse the repository at this point in the history
  • Loading branch information
invisal committed Sep 6, 2024
1 parent 56cd271 commit f3b545b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/gui/query-result-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function Header({
<DropdownMenu modal={false} onOpenChange={setOpen} open={open}>
<DropdownMenuTrigger asChild>
<div
className="flex grow items-center px-2"
className="flex grow items-center px-2 overflow-hidden"
onContextMenu={() => {
setOpen(true);
}}
Expand All @@ -52,7 +52,7 @@ function Header({
<div className="grow line-clamp-1 font-mono font-bold">
{header.displayName}
</div>
<LucideChevronDown className="text-mute w-4 h-4 cursor-pointer" />
<LucideChevronDown className="text-mute w-4 h-4 cursor-pointer flex-shrink-0" />
</div>
</DropdownMenuTrigger>
<DropdownMenuContent
Expand Down
3 changes: 2 additions & 1 deletion src/components/gui/table-optimized/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ function renderCellList({
>
{hasSticky && (
<td
className={cn("sticky left-0 z-1", "bg-background")}
style={{ zIndex: 100 }}
className={cn("sticky left-0", "bg-background")}
onMouseDown={handleCellClicked(
absoluteRowIndex,
headers[0]?.index ?? -1
Expand Down
2 changes: 1 addition & 1 deletion src/components/listview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ function renderList<T>(props: ListViewRendererProps<T>): React.ReactElement {
)}
/>
)}
<div className="text-xs">
<div className="text-xs line-clamp-1">
<Highlight text={item.name} highlight={highlight} />
{item.badgeContent && (
<span
Expand Down

0 comments on commit f3b545b

Please sign in to comment.