Skip to content

Commit

Permalink
[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)
  • Loading branch information
Gwendoline-FAVRE-FELIX committed Dec 18, 2024
1 parent 6177cf6 commit 5314cec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ const StixCoreRelationshipCreationFromEntityList = ({
data.parent_types.includes('Stix-Cyber-Observable')
? data.x_opencti_description
: data.description,
120,
130,
);

return (
Expand Down Expand Up @@ -392,7 +392,11 @@ const StixCoreRelationshipCreationFromEntityList = ({
</ListItemIcon>
<ListItemText
primary={node.name}
secondary={defaultDescription(node)}
secondary={
<span style={{ whiteSpace: 'nowrap' }}>
{defaultDescription(node)}
</span>
}
/>
</ListItem>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5314cec

Please sign in to comment.