[Security solutions][Endpoint] Break long names on remove trusted apps/event filters dialog (#102307)
* Break long names on remove trusted apps/event filters dialog. * Removes wrong class
This commit is contained in:
parent
d3c1f7c54d
commit
3c1b7e2f66
3 changed files with 14 additions and 8 deletions
|
@ -91,7 +91,7 @@ export const EventFilterDeleteModal = memo<{}>(() => {
|
|||
<FormattedMessage
|
||||
id="xpack.securitySolution.eventFilters.deletionDialog.mainMessage"
|
||||
defaultMessage='You are removing event filter "{name}".'
|
||||
values={{ name: <strong>{eventFilter?.name}</strong> }}
|
||||
values={{ name: <b className="eui-textBreakWord">{eventFilter?.name}</b> }}
|
||||
/>
|
||||
</p>
|
||||
<p>
|
||||
|
|
|
@ -56,9 +56,11 @@ exports[`TrustedAppDeletionDialog renders correctly when deletion failed 1`] = `
|
|||
>
|
||||
<p>
|
||||
You are removing trusted application "
|
||||
<strong>
|
||||
<b
|
||||
class="eui-textBreakWord"
|
||||
>
|
||||
trusted app 3
|
||||
</strong>
|
||||
</b>
|
||||
".
|
||||
</p>
|
||||
<p>
|
||||
|
@ -158,9 +160,11 @@ exports[`TrustedAppDeletionDialog renders correctly when deletion is in progress
|
|||
>
|
||||
<p>
|
||||
You are removing trusted application "
|
||||
<strong>
|
||||
<b
|
||||
class="eui-textBreakWord"
|
||||
>
|
||||
trusted app 3
|
||||
</strong>
|
||||
</b>
|
||||
".
|
||||
</p>
|
||||
<p>
|
||||
|
@ -265,9 +269,11 @@ exports[`TrustedAppDeletionDialog renders correctly when dialog started 1`] = `
|
|||
>
|
||||
<p>
|
||||
You are removing trusted application "
|
||||
<strong>
|
||||
<b
|
||||
class="eui-textBreakWord"
|
||||
>
|
||||
trusted app 3
|
||||
</strong>
|
||||
</b>
|
||||
".
|
||||
</p>
|
||||
<p>
|
||||
|
|
|
@ -45,7 +45,7 @@ const getTranslations = (entry: Immutable<TrustedApp> | undefined) => ({
|
|||
<FormattedMessage
|
||||
id="xpack.securitySolution.trustedapps.deletionDialog.mainMessage"
|
||||
defaultMessage='You are removing trusted application "{name}".'
|
||||
values={{ name: <strong>{entry?.name}</strong> }}
|
||||
values={{ name: <b className="eui-textBreakWord">{entry?.name}</b> }}
|
||||
/>
|
||||
),
|
||||
subMessage: (
|
||||
|
|
Loading…
Reference in a new issue