提交 b7cc9709 编写于 作者: T Till Salinger

- moves word-wrap into .css

- removes unused interface and enum for ellipsis
上级 7e2e9c9b
......@@ -99,6 +99,7 @@
line-height: 17px;
min-height: 34px;
margin-top: -1px;
word-wrap: break-word;
}
/* Action bar support */
......
......@@ -67,20 +67,6 @@ export interface IRange {
end: number;
}
export interface IShowMessageOptions {
force?: boolean;
ellipsis?: EllipsisType;
}
/**
* Determines whether the ellipsis appears at the left or right side of the string
*/
export enum EllipsisType {
NONE = 1,
LEFT = 2,
RIGHT = 3
}
const defaultOpts = {
inputBackground: Color.fromHex('#3C3C3C'),
inputForeground: Color.fromHex('#CCCCCC'),
......@@ -406,7 +392,6 @@ export class InputBox extends Widget {
const styles = this.stylesForType(this.message.type);
spanElement.style.backgroundColor = styles.background ? styles.background.toString() : null;
spanElement.style.border = styles.border ? `1px solid ${styles.border}` : null;
spanElement.style.wordWrap = 'break-word';
dom.append(div, spanElement);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册