summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2016-02-25 21:14:56 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2016-02-25 21:14:56 +0500
commitc1b7015a5a6ebd7382706b16c7e6d4101bba081c (patch)
treed11581ad3fab90fd513d724c047bcfcf775e4146 /web
parent8e9e9f7c87ec984668060d79650ec4307ca6cd44 (diff)
downloadchat-c1b7015a5a6ebd7382706b16c7e6d4101bba081c.tar.gz
chat-c1b7015a5a6ebd7382706b16c7e6d4101bba081c.tar.bz2
chat-c1b7015a5a6ebd7382706b16c7e6d4101bba081c.zip
Multiple UI Improvements
Diffstat (limited to 'web')
-rw-r--r--web/react/components/rename_channel_modal.jsx1
-rw-r--r--web/react/utils/utils.jsx2
-rw-r--r--web/sass-files/sass/partials/_modal.scss5
-rw-r--r--web/sass-files/sass/partials/_post.scss4
-rw-r--r--web/sass-files/sass/partials/_post_right.scss3
5 files changed, 6 insertions, 9 deletions
diff --git a/web/react/components/rename_channel_modal.jsx b/web/react/components/rename_channel_modal.jsx
index 49ebccdbb..e96ff0db2 100644
--- a/web/react/components/rename_channel_modal.jsx
+++ b/web/react/components/rename_channel_modal.jsx
@@ -229,7 +229,6 @@ export default class RenameChannelModal extends React.Component {
let readOnlyHandleInput = false;
if (this.state.channelName === Constants.DEFAULT_CHANNEL) {
handleInputLabel += formatMessage(holders.defaultError);
- handleInputClass += ' disabled-input';
readOnlyHandleInput = true;
}
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx
index 41d93174e..38516fae2 100644
--- a/web/react/utils/utils.jsx
+++ b/web/react/utils/utils.jsx
@@ -737,7 +737,7 @@ export function applyTheme(theme) {
changeCss('.post:hover, .modal .more-table tbody>tr:hover td, .settings-modal .settings-table .settings-content .section-min:hover', 'background:' + changeOpacity(theme.centerChannelColor, 0.07), 1);
changeCss('.date-separator.hovered--before:after, .date-separator.hovered--after:before, .new-separator.hovered--after:before, .new-separator.hovered--before:after', 'background:' + changeOpacity(theme.centerChannelColor, 0.07), 1);
changeCss('.command-name:hover, .mentions-name:hover, .suggestion--selected, .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover, .bot-indicator', 'background:' + changeOpacity(theme.centerChannelColor, 0.15), 1);
- changeCss('code', 'background:' + changeOpacity(theme.centerChannelColor, 0.1), 1);
+ changeCss('code, .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control', 'background:' + changeOpacity(theme.centerChannelColor, 0.1), 1);
changeCss('@media(min-width: 960px){.post.current--user:hover .post__body ', 'background: none;', 1);
changeCss('.sidebar--right', 'color:' + theme.centerChannelColor, 2);
changeCss('.search-help-popover .search-autocomplete__item:hover, .settings-modal .settings-table .settings-content .appearance-section .theme-elements__body', 'background:' + changeOpacity(theme.centerChannelColor, 0.05), 1);
diff --git a/web/sass-files/sass/partials/_modal.scss b/web/sass-files/sass/partials/_modal.scss
index 9d4e62bc3..2136b9ffb 100644
--- a/web/sass-files/sass/partials/_modal.scss
+++ b/web/sass-files/sass/partials/_modal.scss
@@ -9,7 +9,6 @@
}
.more-table {
margin: 0;
- table-layout: fixed;
p {
font-size: 0.9em;
overflow: hidden;
@@ -57,12 +56,8 @@
&.td--action {
text-align: right;
padding: 8px 15px 8px 8px;
- width: 80px;
vertical-align: middle;
position: relative;
- &.lg {
- width: 110px;
- }
}
}
}
diff --git a/web/sass-files/sass/partials/_post.scss b/web/sass-files/sass/partials/_post.scss
index 5d0985fc0..710560181 100644
--- a/web/sass-files/sass/partials/_post.scss
+++ b/web/sass-files/sass/partials/_post.scss
@@ -383,6 +383,10 @@ body.ios {
min-height: 25px;
display: block;
@include opacity(0.7);
+ white-space: nowrap;
+ width: 80%;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
}
}
diff --git a/web/sass-files/sass/partials/_post_right.scss b/web/sass-files/sass/partials/_post_right.scss
index 01be9e288..2b48fd2c2 100644
--- a/web/sass-files/sass/partials/_post_right.scss
+++ b/web/sass-files/sass/partials/_post_right.scss
@@ -75,8 +75,7 @@
min-width: 1px;
display: block;
height: 20px;
- max-width: 200px;
- @include clearfix;
+ max-width: 230px;
}
.post-create-footer {
width: 100%;