Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Add css
Browse files Browse the repository at this point in the history
Apply margin to encrypted and unencrypted events
  • Loading branch information
olivialivia committed Apr 11, 2022
1 parent 6a957c2 commit fc37407
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions res/css/structures/_ViewSource.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ limitations under the License.

.mx_ViewSource_details {
margin-top: 0.8em;
}

.mx_ViewSource_container {
margin-right: 1.125em;
}
2 changes: 1 addition & 1 deletion src/components/structures/ViewSource.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default class ViewSource extends React.Component<IProps, IState> {
const canEdit = mxEvent.isState() ? this.canSendStateEvent(mxEvent) : canEditContent(this.props.mxEvent);
return (
<BaseDialog className="mx_ViewSource" onFinished={this.props.onFinished} title={_t("View Source")}>
<div>
<div className="mx_ViewSource_container">
<div>{ _t("Room ID: %(roomId)s", { roomId }) }</div>
<div>{ _t("Event ID: %(eventId)s", { eventId }) }</div>
<div className="mx_ViewSource_separator" />
Expand Down

0 comments on commit fc37407

Please sign in to comment.