diff --git a/app.js b/app.js index d349741..858dabb 100644 --- a/app.js +++ b/app.js @@ -85,9 +85,7 @@ let App = create({ return ( <> {this.setState({roomId: roomId})}}/> -
- -
+ ) } diff --git a/components/chat.js b/components/chat.js index 9647bc0..7346e15 100644 --- a/components/chat.js +++ b/components/chat.js @@ -57,9 +57,7 @@ let chat = create({ render: function() { let empty = ( -
-
-
+
) if (this.props.roomId == undefined) { @@ -106,15 +104,15 @@ let chat = create({ } //TODO: replace with something that only renders events in view return ( - <> +
{events}
- - + +
) } }) diff --git a/components/filterList.js b/components/filterList.js index cbdf96c..41ceaa8 100644 --- a/components/filterList.js +++ b/components/filterList.js @@ -52,9 +52,7 @@ let FilterList = create({ return React.createElement(this.props.element, props) }) return <> -
- -
+
{items}
diff --git a/public/scss/style.scss b/public/scss/style.scss index 8f6b602..2bc583c 100644 --- a/public/scss/style.scss +++ b/public/scss/style.scss @@ -183,18 +183,15 @@ body { max-width: 15vw; .filter { + border: none; border-bottom: $borderwidth solid $bg; - - input { - width: 100%; - box-sizing: border-box; - padding: $spacing; - border: none; - color: white; - font-size: 1rem; - margin: 0; - font-weight: bold; - } + width: 100%; + box-sizing: border-box; + padding: $spacing; + color: white; + font-size: 1rem; + margin: 0; + font-weight: bold; } } @@ -253,14 +250,16 @@ body { .info { padding: $spacing; color: $accent; + font-size: 1rem; font-weight: bold; border-bottom: $borderwidth solid $bg; box-sizing: border-box; } .chat { - padding: $spacing; + padding: 0 $spacing; position: relative; + box-sizing: border-box; .events { display: flex; @@ -291,9 +290,9 @@ body { border: 0.2rem solid lighten($bg0, 10); position: sticky; - top: $spacing/4 - 0.2rem; + top: $spacing; //align-self: flex-end; - //bottom: $spacing/4 - 0.2rem; + //bottom: $spacing; } .col {