Skip to content

Commit

Permalink
fix: remove cutoff popover and use title tag
Browse files Browse the repository at this point in the history
  • Loading branch information
drew-harris committed Aug 30, 2024
1 parent e50cb61 commit a61d372
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions frontends/chat/src/components/ScoreChunk.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
} from "../utils/apiTypes";
import { BiRegularChevronDown, BiRegularChevronUp } from "solid-icons/bi";
import sanitizeHtml from "sanitize-html";
import { Tooltip } from "shared/ui";
import { AiOutlineCopy } from "solid-icons/ai";
import { FiCheck, FiExternalLink, FiGlobe } from "solid-icons/fi";

Expand Down Expand Up @@ -105,10 +104,9 @@ const ScoreChunk = (props: ScoreChunkProps) => {
>
<div class="flex w-full flex-col space-y-2 dark:text-white">
<div class="flex h-fit items-center space-x-1">
<Tooltip
body={<FiGlobe class="z-50 h-5 w-5 text-green-500" />}
tooltipText="Publicly visible"
/>
<div class="cursor-help p-1" title="Publically Visible">
<FiGlobe class="z-50 h-5 w-5 text-green-500" />
</div>
<span class="font-semibold">Doc: {props.counter}</span>
<div class="flex-1" />
<Show when={!copied()}>
Expand Down

0 comments on commit a61d372

Please sign in to comment.