From 491f9b427f1652e5f2c19bb0506a8df74e6c385c Mon Sep 17 00:00:00 2001 From: Bob Zeleznik Date: Sun, 28 Apr 2019 14:54:28 -0400 Subject: fixed doc dec title when its small. --- src/client/views/DocumentDecorations.scss | 2 +- src/client/views/DocumentDecorations.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/client/views/DocumentDecorations.scss b/src/client/views/DocumentDecorations.scss index f78bf9ff8..dd646e77c 100644 --- a/src/client/views/DocumentDecorations.scss +++ b/src/client/views/DocumentDecorations.scss @@ -63,11 +63,11 @@ cursor: ew-resize; } .title{ - width:100%; background: lightblue; grid-column-start:3; grid-column-end: 4; pointer-events: auto; + overflow: hidden; } } diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index d20df5f4a..a1cf0087f 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -519,7 +519,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> {this._edtingTitle ? : -
{`${this.getTitle()}`}
} +
{`${this.getTitle()}`}
}
X
e.preventDefault()}>
e.preventDefault()}>
-- cgit v1.2.3-70-g09d2