diff --git a/frontend/src/components/TicketInfo/index.js b/frontend/src/components/TicketInfo/index.js index 3cfac296..fe7aec02 100644 --- a/frontend/src/components/TicketInfo/index.js +++ b/frontend/src/components/TicketInfo/index.js @@ -1,17 +1,26 @@ import React from "react"; import { Avatar, CardHeader } from "@material-ui/core"; - +import { makeStyles } from "@material-ui/core/styles"; import { i18n } from "../../translate/i18n"; +const useStyles = makeStyles(() => ({ + avatar: { + width: "50px", + height: "50px", + borderRadius: "25%" + } +})); + const TicketInfo = ({ contact, ticket, onClick }) => { + const classes = useStyles(); return ( } + avatar={} title={`${contact.name} #${ticket.id}`} subheader={ ticket.user && diff --git a/frontend/src/components/TicketListItem/index.js b/frontend/src/components/TicketListItem/index.js index 65a4069f..90d7c4bb 100644 --- a/frontend/src/components/TicketListItem/index.js +++ b/frontend/src/components/TicketListItem/index.js @@ -60,6 +60,11 @@ const useStyles = makeStyles(theme => ({ avatarContainer: { position: "relative", }, + avatar: { + width: "50px", + height: "50px", + borderRadius: "25%" + }, badgeStyle: { color: "white", backgroundColor: green[500], @@ -370,11 +375,9 @@ const TicketListItem = ({ ticket, userId, filteredTags }) => { { .map((contact) => ( - + {contact.name}