summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2015-12-01 23:20:12 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2015-12-01 23:20:12 +0500
commit179451b1ac12f8232aa42d633541d4fa4254d660 (patch)
tree8550f15d0f0ad34443cc374d8bcd3e2ca4248f31 /web/react/components
parent2b2ee62a1df0504fff3f3e0e59966db1cd297531 (diff)
downloadchat-179451b1ac12f8232aa42d633541d4fa4254d660.tar.gz
chat-179451b1ac12f8232aa42d633541d4fa4254d660.tar.bz2
chat-179451b1ac12f8232aa42d633541d4fa4254d660.zip
Multiple UI Improvements
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/get_link_modal.jsx2
-rw-r--r--web/react/components/sidebar.jsx2
-rw-r--r--web/react/components/view_image.jsx3
3 files changed, 3 insertions, 4 deletions
diff --git a/web/react/components/get_link_modal.jsx b/web/react/components/get_link_modal.jsx
index df5d6b8e1..fd20834f4 100644
--- a/web/react/components/get_link_modal.jsx
+++ b/web/react/components/get_link_modal.jsx
@@ -75,7 +75,7 @@ export default class GetLinkModal extends React.Component {
onHide={this.onHide}
>
<Modal.Header closeButton={true}>
- {this.props.title}
+ <h4 className='modal-title'>{this.props.title}</h4>
</Modal.Header>
<Modal.Body>
{helpText}
diff --git a/web/react/components/sidebar.jsx b/web/react/components/sidebar.jsx
index b4c037183..5c8e73874 100644
--- a/web/react/components/sidebar.jsx
+++ b/web/react/components/sidebar.jsx
@@ -3,7 +3,6 @@
import NewChannelFlow from './new_channel_flow.jsx';
import MoreDirectChannels from './more_direct_channels.jsx';
-import SearchBox from './search_bar.jsx';
import SidebarHeader from './sidebar_header.jsx';
import UnreadChannelIndicator from './unread_channel_indicator.jsx';
import TutorialTip from './tutorial/tutorial_tip.jsx';
@@ -586,7 +585,6 @@ export default class Sidebar extends React.Component {
teamName={TeamStore.getCurrent().name}
teamType={TeamStore.getCurrent().type}
/>
- <SearchBox />
<UnreadChannelIndicator
show={this.state.showTopUnread}
diff --git a/web/react/components/view_image.jsx b/web/react/components/view_image.jsx
index 2b505607e..820f8fd8e 100644
--- a/web/react/components/view_image.jsx
+++ b/web/react/components/view_image.jsx
@@ -423,10 +423,11 @@ export default class ViewImageModal extends React.Component {
onClick={this.props.onModalDismissed}
>
<div
- className={'image-wrapper ' + bgClass}
+ className={'image-wrapper'}
onClick={this.props.onModalDismissed}
>
<div
+ className={bgClass}
onMouseEnter={this.onMouseEnterImage}
onMouseLeave={this.onMouseLeaveImage}
onClick={(e) => e.stopPropagation()}