Merge pull request #5790 from panoschal/fix/view-source-bug

View Source: make Event ID go below Event ID
This commit is contained in:
Travis Ralston 2021-03-25 19:11:26 -06:00 committed by GitHub
commit 318db15e35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 10 deletions

View file

@ -14,14 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
.mx_ViewSource_label_left {
float: left;
}
.mx_ViewSource_label_right {
float: right;
}
.mx_ViewSource_separator { .mx_ViewSource_separator {
clear: both; clear: both;
border-bottom: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5;

View file

@ -176,8 +176,8 @@ export default class ViewSource extends React.Component {
return ( return (
<BaseDialog className="mx_ViewSource" onFinished={this.props.onFinished} title={_t("View Source")}> <BaseDialog className="mx_ViewSource" onFinished={this.props.onFinished} title={_t("View Source")}>
<div> <div>
<div className="mx_ViewSource_label_left">Room ID: {roomId}</div> <div>Room ID: {roomId}</div>
<div className="mx_ViewSource_label_left">Event ID: {eventId}</div> <div>Event ID: {eventId}</div>
<div className="mx_ViewSource_separator" /> <div className="mx_ViewSource_separator" />
{isEditing ? this.editSourceContent() : this.viewSourceContent()} {isEditing ? this.editSourceContent() : this.viewSourceContent()}
</div> </div>