File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -65,12 +65,15 @@ const NodeHeader = styled.div<{ background?: string }>`
6565 min-height: ${ DEFAULT_NODE_HEADER_HEIGHT } px;
6666 padding: ${ spacing [ 100 ] } px ${ spacing [ 400 ] } px ${ spacing [ 100 ] } px ${ spacing [ 200 ] } px;
6767 background: ${ props => props . background } ;
68- overflow-wrap: anywhere;
68+ ` ;
69+
70+ export const NodeTitle = styled . div `
71+ overflow-wrap: break-word;
72+ min-width: 0;
6973` ;
7074
7175const NodeHeaderIcon = styled . div `
7276 display: flex;
73- flex: 0 0 ${ spacing [ 400 ] } px;
7477 margin-left: ${ spacing [ 100 ] } px;
7578 margin-right: ${ spacing [ 100 ] } px;
7679` ;
@@ -167,7 +170,7 @@ export const Node = ({
167170 < NodeHeaderIcon >
168171 < Icon fill = { theme . node . headerIcon } glyph = "Drag" />
169172 </ NodeHeaderIcon >
170- < span > { title } </ span >
173+ < NodeTitle > { title } </ NodeTitle >
171174 </ >
172175 ) }
173176 </ NodeHeader >
You can’t perform that action at this time.
0 commit comments