Commit e88f21a3 authored by Asaad Mahmood's avatar Asaad Mahmood Committed by Saturnino Abril

Ui improvements (#95)

* PLT-7711 - Fixing spacign in manage roles screen

* PLT-7760 - Enabling send button for tablets

* PLT-7779 - Fixing posts containing less characters

* PLT-7790 - Fixing timestamp in RHS

* Fixing device tracking conditional
parent 3b394020
......@@ -7,6 +7,7 @@ import UserStore from 'stores/user_store.jsx';
import * as GlobalActions from 'actions/global_actions.jsx';
import * as WebSocketActions from 'actions/websocket_actions.jsx';
import * as UserAgent from 'utils/user_agent.jsx';
import {loadEmoji} from 'actions/emoji_actions.jsx';
import * as Utils from 'utils/utils.jsx';
......@@ -30,9 +31,10 @@ export default class LoggedIn extends React.Component {
$('#root').attr('class', 'channel-view');
// Device tracking setup
var iOS = (/(iPad|iPhone|iPod)/g).test(navigator.userAgent);
if (iOS) {
if (UserAgent.isIos()) {
$('body').addClass('ios');
} else if (UserAgent.isAndroid()) {
$('body').addClass('android');
}
this.state = {
......
......@@ -564,6 +564,11 @@
color: inherit;
}
}
.android &,
.ios & {
display: block;
}
}
......
......@@ -77,8 +77,6 @@
.post__header {
.col__name {
flex: 10;
.user-popover {
width: 100%;
}
......
......@@ -338,7 +338,6 @@
.post__header {
float: left;
padding-top: 3px;
.col__reply {
top: -21px;
......
......@@ -605,6 +605,10 @@
}
.manage-teams {
.modal-body {
padding: 15px 15px 0;
}
.manage-teams__user {
align-items: center;
display: flex;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment