add beta watermark

This commit is contained in:
David Lechner
2020-06-16 09:39:09 +02:00
committed by laurensvalk
parent 44b200d1cc
commit 2fdcea091e
3 changed files with 13 additions and 1 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

+1 -1
View File
@@ -65,7 +65,7 @@ class Editor extends React.Component<EditorProps> {
render(): JSX.Element {
const { i18n, onSessionChanged } = this.props;
return (
<div className="h-100">
<div className="h-100 watermark">
<ResizeSensor onResize={(): void => this.editor?.resize()}>
<AceEditor
ref={this.editorRef}
+12
View File
@@ -97,3 +97,15 @@ body {
.terminal-padding {
padding-left: 10px;
}
.watermark::after {
content: "";
background: url("/static/beta.png");
opacity: 0.03;
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
pointer-events: none
}