Skip to content

Commit

Permalink
fix(ui): truncate alert name in history panel (#1060)
Browse files Browse the repository at this point in the history
  • Loading branch information
talboren authored Apr 7, 2024
1 parent 6c278e4 commit e10bc34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keep-ui/app/alerts/alert-history.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ const AlertHistoryPanel = ({
return (
<Fragment>
<Flex alignItems="center" justifyContent="between">
<div>
<Title>History of: {alertsHistoryWithDate.at(0)?.name}</Title>
<div className="w-11/12">
<Title className="truncate">History of: {alertsHistoryWithDate.at(0)?.name}</Title>
<Subtitle>
Showing: {alertsHistoryWithDate.length} alerts (1000 maximum)
</Subtitle>
Expand Down

0 comments on commit e10bc34

Please sign in to comment.