mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 11:25:17 +00:00
Add ellipsis to condition text in modal
This commit is contained in:
parent
f0786f3af6
commit
7aec8f1784
@ -32,7 +32,16 @@ const ActionRow = ({
|
||||
})}
|
||||
|
||||
</TableLabel>
|
||||
<TableLabel title={label} textColor="primary600">
|
||||
<TableLabel
|
||||
title={label}
|
||||
textColor="primary600"
|
||||
// ! REMOVE THIS WHEN DS IS UPDATED WITH ELLIPSIS PROP
|
||||
style={{
|
||||
overflow: 'hidden',
|
||||
whiteSpace: 'nowrap',
|
||||
textOverflow: 'ellipsis',
|
||||
}}
|
||||
>
|
||||
{formatMessage({
|
||||
id: `Settings.roles.form.permissions.${label.toLowerCase()}`,
|
||||
defaultMessage: label,
|
||||
|
||||
@ -24,6 +24,7 @@ const Wrapper = styled(Box)`
|
||||
`};
|
||||
`;
|
||||
|
||||
// ! REMOVE THIS WHEN DS IS UPDATED WITH ELLIPSIS PROP
|
||||
const StyledText = styled(Text)`
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user