Skip to content

Commit

Permalink
Inclusão da prop overlap="rectangular"
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh committed Mar 28, 2023
1 parent 980ef62 commit 0f0b988
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/NotificationsPopOver/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const NotificationsPopOver = () => {
aria-label="Open Notifications"
color="inherit"
>
<Badge badgeContent={notifications.length} color="secondary">
<Badge badgeContent={notifications.length} color="secondary" overlap="rectangular" >
<ChatIcon />
</Badge>
</IconButton>
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/TicketListItem/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ const TicketListItem = ({ ticket }) => {
<Badge
className={classes.newMessagesCount}
badgeContent={ticket.unreadMessages}
overlap="rectangular"
classes={{
badge: classes.badgeStyle,
}}
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/TicketsManager/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ const TicketsManager = () => {
<Badge
className={classes.badge}
badgeContent={pendingCount}
overlap="rectangular"
color="secondary"
>
{i18n.t("ticketsList.pendingHeader")}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/layout/MainListItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const MainListItems = (props) => {
to="/connections"
primary={i18n.t("mainDrawer.listItems.connections")}
icon={
<Badge badgeContent={connectionWarning ? "!" : 0} color="error">
<Badge badgeContent={connectionWarning ? "!" : 0} color="error" overlap="rectangular" >
<SyncAlt />
</Badge>
}
Expand Down

0 comments on commit 0f0b988

Please sign in to comment.