Skip to content
Snippets Groups Projects
Commit 2b12df5f authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fix copy-paste

parent d2358343
No related branches found
No related tags found
No related merge requests found
...@@ -185,6 +185,7 @@ ...@@ -185,6 +185,7 @@
margin-right: 16px margin-right: 16px
.context .context
display: block
position: relative position: relative
&.focus &.focus
......
...@@ -1278,6 +1278,7 @@ body { ...@@ -1278,6 +1278,7 @@ body {
margin-right: 16px; margin-right: 16px;
} }
.results .buffer .container .context { .results .buffer .container .context {
display: block;
position: relative; } position: relative; }
.results .buffer .container .context.focus { .results .buffer .container .context.focus {
......
...@@ -15,17 +15,17 @@ class Context extends Component { ...@@ -15,17 +15,17 @@ class Context extends Component {
} }
render() { render() {
return this.elem = function () { return this.elem = function () {
var $$a = document.createElement('div'); var $$a = document.createElement('span');
$$a.setAttribute('class', 'context'); $$a.setAttribute('class', 'context');
$$a.appendChildren(this.containerBefore = function () { $$a.appendChildren(this.containerBefore = function () {
var $$c = document.createElement('div'); var $$c = document.createElement('span');
$$c.setAttribute('class', 'container before'); $$c.setAttribute('class', 'container before');
$$c.appendChildren((this.loadBeforeBtn = new LoadMore(translation.context.load_earlier, () => this.triggerLoadBefore())).elem); $$c.appendChildren((this.loadBeforeBtn = new LoadMore(translation.context.load_earlier, () => this.triggerLoadBefore())).elem);
return $$c; return $$c;
}.call(this)); }.call(this));
$$a.appendChildren(this.message.elem); $$a.appendChildren(this.message.elem);
$$a.appendChildren(this.containerAfter = function () { $$a.appendChildren(this.containerAfter = function () {
var $$g = document.createElement('div'); var $$g = document.createElement('span');
$$g.setAttribute('class', 'container after'); $$g.setAttribute('class', 'container after');
$$g.appendChildren((this.loadAfterBtn = new LoadMore(translation.context.load_later, () => this.triggerLoadAfter())).elem); $$g.appendChildren((this.loadAfterBtn = new LoadMore(translation.context.load_later, () => this.triggerLoadAfter())).elem);
return $$g; return $$g;
......
...@@ -21,19 +21,19 @@ class Context extends Component { ...@@ -21,19 +21,19 @@ class Context extends Component {
render() { render() {
return this.elem = ( return this.elem = (
<div className="context"> <span className="context">
{this.containerBefore = ( {this.containerBefore = (
<div className="container before"> <span className="container before">
{(this.loadBeforeBtn = new LoadMore(translation.context.load_earlier, () => this.triggerLoadBefore())).elem} {(this.loadBeforeBtn = new LoadMore(translation.context.load_earlier, () => this.triggerLoadBefore())).elem}
</div> </span>
)} )}
{this.message.elem} {this.message.elem}
{this.containerAfter = ( {this.containerAfter = (
<div className="container after"> <span className="container after">
{(this.loadAfterBtn = new LoadMore(translation.context.load_later, () => this.triggerLoadAfter())).elem} {(this.loadAfterBtn = new LoadMore(translation.context.load_later, () => this.triggerLoadAfter())).elem}
</div> </span>
)} )}
</div> </span>
); );
} }
......
...@@ -47,6 +47,8 @@ class Message extends Component { ...@@ -47,6 +47,8 @@ class Message extends Component {
$$o.appendChild($$p); $$o.appendChild($$p);
return $$o; return $$o;
}.call(this) : null); }.call(this) : null);
var $$q = document.createElement('br');
$$a.appendChild($$q);
return $$a; return $$a;
}.call(this); }.call(this);
} }
......
...@@ -28,6 +28,7 @@ class Message extends Component { ...@@ -28,6 +28,7 @@ class Message extends Component {
{this.isAnchor ? ( {this.isAnchor ? (
<a className="more icon" onClick={() => this.sendEvent("focus", [])}>list</a> <a className="more icon" onClick={() => this.sendEvent("focus", [])}>list</a>
) : null} ) : null}
<br/>
</span> </span>
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment