Selaa lähdekoodia

Merge pull request #459 from smiclea/break-word

Break notification item name if it doesn't fit CORWEB-219
Nashwan Azhari 6 vuotta sitten
vanhempi
sitoutus
268c3884c8

+ 1 - 1
src/components/molecules/NotificationDropdown/NotificationDropdown.jsx

@@ -158,7 +158,7 @@ export const ItemReplicaBadge = styled.div`
   border: 1px solid #7F8795;
 `
 export const ItemTitle = styled.div`
-  ${props => props.nowrap ? 'white-space: nowrap;' : ''}
+  ${props => props.nowrap ? 'white-space: nowrap;' : 'word-break: break-word;'}
   overflow: hidden;
   text-overflow: ellipsis;
 `