Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,10 @@
.media-icon.chat {
color: var(--mds-color-theme-indicator-secure);
}
}

.customer-name::part(text),
.phone-number::part(text) {
white-space: normal !important;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we not have the !important tag instead increase the CSS Specificity?

word-break: break-all;
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const CallControlCADComponent: React.FC<CallControlComponentProps> = (props) =>
</div>

<div className="customer-info">
<Text className="customer-id" type="body-large-bold" tagName={'small'}>
<Text className="customer-name" type="body-large-bold" tagName={'small'}>
{isSocial ? customerName || NO_CUSTOMER_NAME : ani || NO_CALLER_ID}
</Text>
<div className="call-details">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const Task: React.FC<TaskProps> = ({
<ListItemBaseSection position="fill">
<section className="task-details">
{title && (
<Text tagName="span" type={selected ? 'body-large-bold' : 'body-large-medium'}>
<Text tagName="span" type={selected ? 'body-large-bold' : 'body-large-medium'} className="task-title">
{title}
</Text>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
align-items: center;
align-self: stretch;
// have to override momentum default height for listitem to match the design
height: 5rem !important;
min-height: 5rem !important;
height: auto !important;

mdc-avatar {
--mdc-avatar-default-background-color: var(--mds-color-theme-avatar-glass-normal);
Expand Down Expand Up @@ -75,4 +76,11 @@
.task-list-hover:hover{
// To remove the hover effect of ListItemBase when we render an incoming task
background: none !important;
}

.task-details {
.task-title::part(text) {
white-space: normal !important;
word-break: break-all;
}
}
Loading