From 992d7215c7a267ccc2ae120bc1542b5a2f492899 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 27 Jul 2020 14:59:00 +0100 Subject: [PATCH] Remove poorly contrasted "dark style" heading in Room Preview Bar Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- res/css/views/rooms/_RoomPreviewBar.scss | 5 ----- src/components/views/rooms/RoomPreviewBar.js | 3 --- 2 files changed, 8 deletions(-) diff --git a/res/css/views/rooms/_RoomPreviewBar.scss b/res/css/views/rooms/_RoomPreviewBar.scss index 8708f13ada..0b1da7a41c 100644 --- a/res/css/views/rooms/_RoomPreviewBar.scss +++ b/res/css/views/rooms/_RoomPreviewBar.scss @@ -58,11 +58,6 @@ limitations under the License. } } -.mx_RoomPreviewBar_dark { - background-color: $tagpanel-bg-color; - color: $accent-fg-color; -} - .mx_RoomPreviewBar_actions { display: flex; } diff --git a/src/components/views/rooms/RoomPreviewBar.js b/src/components/views/rooms/RoomPreviewBar.js index 5c181ec3c4..9aa78fbbfd 100644 --- a/src/components/views/rooms/RoomPreviewBar.js +++ b/src/components/views/rooms/RoomPreviewBar.js @@ -288,7 +288,6 @@ export default createReactClass({ const AccessibleButton = sdk.getComponent('elements.AccessibleButton'); let showSpinner = false; - let darkStyle = false; let title; let subTitle; let primaryActionHandler; @@ -316,7 +315,6 @@ export default createReactClass({ break; } case MessageCase.NotLoggedIn: { - darkStyle = true; title = _t("Join the conversation with an account"); primaryActionLabel = _t("Sign Up"); primaryActionHandler = this.onRegisterClick; @@ -557,7 +555,6 @@ export default createReactClass({ const classes = classNames("mx_RoomPreviewBar", "dark-panel", `mx_RoomPreviewBar_${messageCase}`, { "mx_RoomPreviewBar_panel": this.props.canPreview, "mx_RoomPreviewBar_dialog": !this.props.canPreview, - "mx_RoomPreviewBar_dark": darkStyle, }); return (