From 70283c20f69576d52b4f35ed9c138749523c6ca7 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Fri, 15 Jul 2016 00:56:38 +0500 Subject: PLT-3508/PLT-3516/PLT-3558/PLT-3570/PLT-3497 Multiple UI Improvements (#3553) * PLT-3627 - Fixing spacing in RHS * PLT-3516 - Fixing errors in backstage * PLT-3558 - Fixing system console menu on small screens * PLT-3570 - Fixing account settings sidebar truncating issue * PLT-3497 - Moving see other themes link * Removing formatted message import from premade theme chooser --- webapp/components/emoji/components/add_emoji.jsx | 5 +- webapp/components/form_error.jsx | 11 + .../integrations/components/add_command.jsx | 5 +- .../components/add_incoming_webhook.jsx | 5 +- .../components/add_outgoing_webhook.jsx | 5 +- .../user_settings/premade_theme_chooser.jsx | 16 -- .../user_settings/user_settings_theme.jsx | 20 +- webapp/sass/layout/_post-right.scss | 234 ++++++++++----------- webapp/sass/responsive/_mobile.scss | 54 +++-- webapp/sass/routes/_settings.scss | 11 +- 10 files changed, 211 insertions(+), 155 deletions(-) (limited to 'webapp') diff --git a/webapp/components/emoji/components/add_emoji.jsx b/webapp/components/emoji/components/add_emoji.jsx index 46f345476..c3d61d32c 100644 --- a/webapp/components/emoji/components/add_emoji.jsx +++ b/webapp/components/emoji/components/add_emoji.jsx @@ -277,7 +277,10 @@ export default class AddEmoji extends React.Component { {preview}
- + + +
+ ); + } + if (this.props.margin) { return (
diff --git a/webapp/components/integrations/components/add_command.jsx b/webapp/components/integrations/components/add_command.jsx index cf563875b..d24acd70d 100644 --- a/webapp/components/integrations/components/add_command.jsx +++ b/webapp/components/integrations/components/add_command.jsx @@ -537,7 +537,10 @@ export default class AddCommand extends React.Component {
{autocompleteFields}
- +
- +
- + {premadeThemes}
-
-
- - - -
-
); } diff --git a/webapp/components/user_settings/user_settings_theme.jsx b/webapp/components/user_settings/user_settings_theme.jsx index 4ff08402a..d12a7689a 100644 --- a/webapp/components/user_settings/user_settings_theme.jsx +++ b/webapp/components/user_settings/user_settings_theme.jsx @@ -257,8 +257,26 @@ export default class ThemeSetting extends React.Component { inputs.push(custom); inputs.push( -
+

+ + + +
+ ); + + inputs.push( +
li { + float: left; + } + + .dropdown-menu { + background: $white; + left: auto; + position: absolute; + right: 0; + } + } + } + #navbar { .navbar-default { .navbar-header { @@ -802,6 +813,25 @@ right: 0; width: 100%; + .post-create__container { + form { + padding: .5em 1em; + } + + .msg-typing:empty { + display: none; + } + + .post-create-footer { + padding: 1em 0; + + .control-label { + margin: .5em 0; + top: 0; + } + } + } + .sidebar__collapse, .sidebar__search-icon { display: block; @@ -871,8 +901,8 @@ } .app__content { - padding-top: 45px; margin: 0; + padding-top: 45px; .channel__wrap & { padding-top: 45px; diff --git a/webapp/sass/routes/_settings.scss b/webapp/sass/routes/_settings.scss index 501c20e20..36a1acf76 100644 --- a/webapp/sass/routes/_settings.scss +++ b/webapp/sass/routes/_settings.scss @@ -171,6 +171,9 @@ .theme-label { font-weight: 400; margin-top: 5px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } img { @@ -343,7 +346,10 @@ a { border-radius: 0; color: $gray; - padding: 8px 5px 8px 15px; + overflow: hidden; + padding: 8px 15px; + text-overflow: ellipsis; + white-space: nowrap; } .icon { @@ -382,10 +388,7 @@ @include alpha-property(background-color, $black, .1); border-radius: 0; font-weight: 400; - overflow: hidden; position: relative; - text-overflow: ellipsis; - white-space: nowrap; } } } -- cgit v1.2.3-1-g7c22