diff --git a/src/components/dialogs/TitleDialog.tsx b/src/components/dialogs/TitleDialog.tsx index d8d8949..018d211 100644 --- a/src/components/dialogs/TitleDialog.tsx +++ b/src/components/dialogs/TitleDialog.tsx @@ -73,26 +73,31 @@ export class Component extends React.PureComponent -
{ this.ref_title = el; }} - > -

{title}

-
-
{ this.ref_overflow = el; }} - > + { + title && +
{ this.ref_title = el; }} + > +

{title}

+
+ } + {
{ this.ref_text = el; }} + className="title-dialog-pane title-dialog-text" + style={{ + height: (raised ? height_raised : height), + display: height === 0 ? 'none' : 'block' + }} + ref={el => { this.ref_overflow = el; }} > +
{ this.ref_text = el; }} + > +
-
+ }