Skip to content

Commit

Permalink
Styling fix
Browse files Browse the repository at this point in the history
Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com>
  • Loading branch information
abstractionfactory committed Nov 28, 2024
1 parent 1c239a4 commit a173ab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/LicenseSidebarBlock/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ export function LicenseSidebarBlock(props: BlockProps) {
if (props.license === undefined) {
content = <span className="flex h-em w-24 animate-pulse bg-gray-500/25" />;
} else if (props.license === null || props.license.length === 0) {
content = (<>
content = (<div className="flex gap-2 items-center">
None detected
<Icon
title="The OpenTofu Search indexing couldn't detect a license with enough confidence to display this content."
path={info}
className="size-4 text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-100"
/>
</>);
</div>);
} else {
const sortedLicenses = [...props.license].sort(
(a, b) => b.confidence - a.confidence,
Expand Down

0 comments on commit a173ab7

Please sign in to comment.