File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -88,11 +88,17 @@ const NodeHeaderIcon = styled.div`
8888const NodeHeaderTitleWrapper = styled . div `
8989 margin-right: ${ spacing [ 200 ] } px;
9090 min-width: 0;
91+ display: flex;
92+ align-items: center;
9193` ;
9294
9395export const NodeHeaderTitle = styled . div `
9496 display: inline;
9597 overflow-wrap: break-word;
98+ overflow: hidden;
99+ text-overflow: ellipsis;
100+ white-space: nowrap;
101+ max-width: 100%;
96102` ;
97103
98104const NodeHandle = styled ( Handle ) < { [ 'z-index' ] ?: number } > `
@@ -123,9 +129,9 @@ const TitleControlsContainer = styled.div`
123129
124130const IconWrapper = styled . div < { darkMode : boolean } > `
125131 color: ${ props => ( props . darkMode ? palette . yellow . light2 : palette . yellow . dark2 ) } ;
126- display: inline;
127- vertical-align: sub;
128132 margin-left: ${ spacing [ 100 ] } px;
133+ display: flex;
134+ align-items: center;
129135` ;
130136
131137export const Node = ( {
You can’t perform that action at this time.
0 commit comments