Skip to content

Commit

Permalink
Lower the trim treshold to fit the longer text in single line
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszKlonowski committed Nov 15, 2024
1 parent 9e532ef commit d84d270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/popup/components/SessionsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const SessionTile = ({name, onSelect}) => {
});
}, [name]);

const nameLenghtTreshold = 27;
const nameLenghtTreshold = 25;
const trimmedName = name.length > nameLenghtTreshold ? name.substring(0, nameLenghtTreshold).concat("...") : name;
return (
<div
Expand Down

0 comments on commit d84d270

Please sign in to comment.