Fix uncontained text overflow in column header (#39356)
This commit is contained in:
parent
9f7e2d0002
commit
bff9f0eb6d
@ -272,7 +272,7 @@ export const ColumnHeader: React.FC<Props> = ({
|
||||
{!backButton && hasIcon && (
|
||||
<Icon id={icon} icon={iconComponent} className='column-header__icon' />
|
||||
)}
|
||||
{title}
|
||||
<span className='column-header__text'>{title}</span>
|
||||
</>
|
||||
);
|
||||
|
||||
|
||||
@ -4641,6 +4641,7 @@ a.status-card {
|
||||
&__title-wrapper {
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
&__title {
|
||||
@ -4656,9 +4657,7 @@ a.status-card {
|
||||
background: transparent;
|
||||
font: inherit;
|
||||
text-align: start;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
min-width: 0;
|
||||
|
||||
&--with-back-button {
|
||||
padding-inline-start: 0;
|
||||
@ -4673,6 +4672,12 @@ a.status-card {
|
||||
}
|
||||
}
|
||||
|
||||
&__text {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.column-header__back-button {
|
||||
flex: 1;
|
||||
color: var(--color-text-brand);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user