Skip to content

Commit

Permalink
fix(ui): clipped annotation toolbar when creator name too long (Fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur-lemeur authored Oct 31, 2024
1 parent 827e2b8 commit b313753
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/renderer/assets/styles/components/annotations.scss
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@
>div {
display: inherit;
align-items: center;
gap: 5px;
overflow: hidden;

button {
padding: 5px;
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/reader/components/ReaderMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ const AnnotationCard: React.FC<{ timestamp: number, annotation: IAnnotationState
?
<div>
<SVG ariaHidden svg={AvatarIcon} />
<p>{creatorName}</p>
<p style={{overflow: "hidden", textOverflow: "ellipsis", padding: "0"}} title={creatorName}>{creatorName}</p>
</div>
: <></>
}
Expand Down

0 comments on commit b313753

Please sign in to comment.