Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[frontend] Reset the drawer width and correct the length of the trunc…
Browse files Browse the repository at this point in the history
…ate (#9279)
Gwendoline-FAVRE-FELIX committed Jan 20, 2025

Verified

This commit was signed with the committer’s verified signature.
1 parent 0c67c4c commit abf4363
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -338,7 +338,7 @@ const StixCoreRelationshipCreationFromEntityList = ({
data.parent_types.includes('Stix-Cyber-Observable')
? data.x_opencti_description
: data.description,
120,
130,
);

return (
@@ -392,7 +392,11 @@ const StixCoreRelationshipCreationFromEntityList = ({
</ListItemIcon>
<ListItemText
primary={node.name}
secondary={defaultDescription(node)}
secondary={
<span style={{ whiteSpace: 'nowrap' }}>
{defaultDescription(node)}
</span>
}
/>
</ListItem>
);
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@ import IndicatorCreation from '../indicators/IndicatorCreation';
const styles = (theme) => ({
drawerPaper: {
minHeight: '100vh',
width: '50%',
position: 'fixed',
transition: theme.transitions.create('width', {
easing: theme.transitions.easing.sharp,

0 comments on commit abf4363

Please sign in to comment.