1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00

fix: break long project/flag names in the event log to prevent overflow (#7684)

This change sets the `overflow-wrap` property for the definition list
values in the event log. This is to prevent long project/flag names
from making the left-hand side of the card suuuper wide, causing
overflow of the whole container.

Before: 

![image](https://github.com/user-attachments/assets/4f813d71-731d-4bb8-86b0-89ff235b2244)

After:

![image](https://github.com/user-attachments/assets/6739d3f0-552b-47c7-8dca-4235a737367e)
This commit is contained in:
Thomas Heartman 2024-07-29 10:54:43 +02:00 committed by GitHub
parent a42970a153
commit f24f8a896c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,6 +39,10 @@ const StyledContainerListItem = styled('li')(({ theme }) => ({
},
},
'& dd': {
overflowWrap: 'anywhere',
},
a: {
color: theme.palette.links,
},