chat: tweaking input and datestamp for 320px

Adding some very small viewport adjustments to keep the
layout tidy, disabling iOS autocorrect.
This commit is contained in:
Matilde Park 2019-11-22 20:11:15 -05:00
parent a6b4ed19b3
commit 8c38714cc6
2 changed files with 2 additions and 1 deletions

View File

@ -190,6 +190,7 @@ export class ChatInput extends Component {
<textarea
className={"pl3 bn"}
style={{ flexGrow: 1, height: 28, paddingTop: 6, resize: "none" }}
autoCapitalize="none"
ref={this.textareaRef}
placeholder={props.placeholder}
value={state.message}

View File

@ -122,7 +122,7 @@ export class Message extends Component {
{props.msg.author}
</p>
<p className="v-mid mono f9 gray dib">{timestamp}</p>
<p className="v-mid mono f9 ml2 gray dib child">{datestamp}</p>
<p className="v-mid mono f9 ml2 gray dib child dn-s">{datestamp}</p>
</div>
{this.renderContent()}
</div>