Skip to content

Commit

Permalink
Fix inbox notification truncation (#1513)
Browse files Browse the repository at this point in the history
Resolves #1444
  • Loading branch information
aeharding authored Jun 6, 2024
1 parent 7691a70 commit 5339b83
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/features/inbox/InboxItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,14 @@ import { filterEvents } from "../../helpers/longPress";
import { stopIonicTapClick } from "../../helpers/ionic";

const labelStyles = css`
display: inline-flex;
max-width: 100%;
font-weight: 500;
a {
display: inline-flex; // kinda brittle way to ensure it stays inline
overflow: hidden;
text-overflow: ellipsis;
}
`;

Expand Down Expand Up @@ -101,6 +105,7 @@ const TypeIcon = styled(IonIcon)`

const Content = styled.div`
flex: 1;
min-width: 0;
`;

const Header = styled.div``;
Expand All @@ -112,10 +117,15 @@ const Body = styled.div`
const Footer = styled.div`
display: flex;
align-items: center;
justify-content: space-between;
color: var(--ion-color-medium);
aside {
> div {
min-width: 0;
}
> aside {
margin-left: auto;
display: flex;
Expand Down

0 comments on commit 5339b83

Please sign in to comment.