From 860f2c8332f34d02e53ea1460decb4d1490bcbd4 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 31 Jul 2017 17:10:43 +0500 Subject: Multiple Ui improvements (#7029) * PLT-7119 - Updating headings on compact view * PLT-7103 - Removing line below channel intro * PLT-7112 - Fixing system console banner * PLT-7144 - Adding ellipsis to system console boxes * PLT-7181 - Changing channel header opacity * PLT-6899 - Updating unread bar * Updating margin for new messages indicator --- webapp/components/admin_console/cluster_settings.jsx | 4 ++-- webapp/components/admin_console/database_settings.jsx | 4 ++-- webapp/components/post_view/new_message_indicator.jsx | 11 +++++++---- webapp/components/sidebar.jsx | 8 ++++---- webapp/components/unread_channel_indicator.jsx | 7 +++++++ 5 files changed, 22 insertions(+), 12 deletions(-) (limited to 'webapp/components') diff --git a/webapp/components/admin_console/cluster_settings.jsx b/webapp/components/admin_console/cluster_settings.jsx index 0c3346c5a..36f86f0ef 100644 --- a/webapp/components/admin_console/cluster_settings.jsx +++ b/webapp/components/admin_console/cluster_settings.jsx @@ -120,12 +120,12 @@ export default class ClusterSettings extends AdminSettings { {configLoadedFromCluster} {clusterTableContainer} -

+

-

+
{warning} -

+

-

+
); diff --git a/webapp/components/sidebar.jsx b/webapp/components/sidebar.jsx index 25ad51ba9..788f14cd9 100644 --- a/webapp/components/sidebar.jsx +++ b/webapp/components/sidebar.jsx @@ -745,15 +745,15 @@ export default class Sidebar extends React.Component { const above = ( ); const below = ( ); diff --git a/webapp/components/unread_channel_indicator.jsx b/webapp/components/unread_channel_indicator.jsx index d1ffd4c0a..9462761ac 100644 --- a/webapp/components/unread_channel_indicator.jsx +++ b/webapp/components/unread_channel_indicator.jsx @@ -6,18 +6,25 @@ import PropTypes from 'prop-types'; // Indicator for the left sidebar which indicate if there's unread posts in a channel that is not shown // because it is either above or below the screen import React from 'react'; +import Constants from 'utils/constants.jsx'; export default function UnreadChannelIndicator(props) { + const unreadIcon = Constants.UNREAD_ICON_SVG; let displayValue = 'none'; if (props.show) { displayValue = 'block'; } + return (
{props.text} +
); } -- cgit v1.2.3-1-g7c22