Skip to content

Commit

Permalink
Fix width of message detail screen (#2478)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal authored Jun 21, 2018
1 parent 91e7155 commit 4458397
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions stylesheets/_conversation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ span.status {
overflow-y: scroll;
}

.contact-detail {
.contact-detail-component {
text-align: center;
max-width: 300px;
margin-left: auto;
Expand Down Expand Up @@ -958,8 +958,9 @@ span.status {
}
}

.conversation .contact-detail {
.conversation .contact-detail-component {
margin-top: 40px;
margin-bottom: 40px;
}

.quoted-message {
Expand Down
2 changes: 1 addition & 1 deletion ts/components/conversation/ContactDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export class ContactDetail extends React.Component<Props> {
const { contact, hasSignalAccount, i18n, onSendMessage } = this.props;

return (
<div className="contact-detail">
<div className="contact-detail-component">
{renderAvatar(contact, i18n)}
{renderName(contact)}
{renderContactShorthand(contact)}
Expand Down

0 comments on commit 4458397

Please sign in to comment.