From aa1f468235becac7db7eecc0488d330cac6a2557 Mon Sep 17 00:00:00 2001 From: Panagiotis <27917356+panoschal@users.noreply.github.com> Date: Thu, 25 Mar 2021 14:36:40 +0200 Subject: [PATCH] fix: room id sticked with event id --- res/css/structures/_ViewSource.scss | 8 -------- src/components/structures/ViewSource.js | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/res/css/structures/_ViewSource.scss b/res/css/structures/_ViewSource.scss index 0126c16599..248eab5d88 100644 --- a/res/css/structures/_ViewSource.scss +++ b/res/css/structures/_ViewSource.scss @@ -14,14 +14,6 @@ See the License for the specific language governing permissions and limitations under the License. */ -.mx_ViewSource_label_left { - float: left; -} - -.mx_ViewSource_label_right { - float: right; -} - .mx_ViewSource_separator { clear: both; border-bottom: 1px solid #e5e5e5; diff --git a/src/components/structures/ViewSource.js b/src/components/structures/ViewSource.js index be9be4db81..6fe99dd464 100644 --- a/src/components/structures/ViewSource.js +++ b/src/components/structures/ViewSource.js @@ -176,8 +176,8 @@ export default class ViewSource extends React.Component { return (
-
Room ID: {roomId}
-
Event ID: {eventId}
+
Room ID: {roomId}
+
Event ID: {eventId}
{isEditing ? this.editSourceContent() : this.viewSourceContent()}