Skip to content

Commit

Permalink
fixing new tickets button color and trimming message (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
amiparadis250 authored Nov 19, 2024
1 parent 80f3565 commit d31b6ee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pages/Tickets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ function TicketsPage() {
accessor: 'message',
Cell: ({ value }: { value: string }) => {
const trimmedMessage =
value.length > 100 ? `${value.substring(0, 100)}...` : value;
value.length > 100 ? `${value.substring(0, 80)}...` : value;

return trimmedMessage;
},
},
Expand Down Expand Up @@ -362,7 +363,7 @@ function TicketsPage() {
<button
type="button"
onClick={handleNewTicketClick}
className="px-4 py-2 text-white bg-blue-500 rounded hover:bg-blue-600"
className="px-4 py-2 text-white rounded primary hover:bg-primary"
>
New Ticket
</button>
Expand Down

0 comments on commit d31b6ee

Please sign in to comment.