Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
ttizze committed Aug 8, 2024
1 parent 0038c57 commit 8f5d15c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/app/routes/reader+/components/Translation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function ToggleButton({
return (
<button
type="button"
className="absolute top-2 right-2 p-1 z-20"
className="absolute -top-4 right-2 p-1 z-20"
onClick={onClick}
aria-label={label}
title={label}
Expand Down Expand Up @@ -65,7 +65,7 @@ export function Translation({
/>
</div>
{isExpanded && (
<div className="absolute top-0 left-0 right-0 z-10 border bg-white dark:bg-gray-900 rounded-xl shadow-xl dark:shadow-white/10 transition-all duration-500 ease-in-out">
<div className="absolute -top-4 left-0 right-0 z-10 border bg-white dark:bg-gray-900 rounded-xl shadow-xl dark:shadow-white/10 transition-all duration-500 ease-in-out">
<AddAndVoteTranslations
bestTranslationWithVote={bestTranslationWithVote}
alternativeTranslationsWithVotes={alternativeTranslationsWithVotes}
Expand Down

0 comments on commit 8f5d15c

Please sign in to comment.