UI changes (#6876)
* PLT-7011 - Long channel name truncation * PLT-7013 - Fixing channel header mobile * PLT-7012 - Updating quick switch modal on mobile * PLT-7008 - Channel preferences mobile fix * PLT-7014 - Increasing tap area for channel desc
Этот коммит содержится в:
коммит произвёл
Saturnino Abril
родитель
e8c02c7c1d
Коммит
06814885a0
@@ -698,7 +698,7 @@ export default class Navbar extends React.Component {
|
|||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
className='icon icon__menu'
|
className='icon icon__menu icon--sidebarHeaderTextColor'
|
||||||
dangerouslySetInnerHTML={{__html: menuIcon}}
|
dangerouslySetInnerHTML={{__html: menuIcon}}
|
||||||
aria-hidden='true'
|
aria-hidden='true'
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ export default class QuickSwitchModal extends React.PureComponent {
|
|||||||
<Modal.Header closeButton={true}/>
|
<Modal.Header closeButton={true}/>
|
||||||
<Modal.Body>
|
<Modal.Body>
|
||||||
{header}
|
{header}
|
||||||
<div className='modal__hint hidden-xs'>
|
<div className='modal__hint'>
|
||||||
{help}
|
{help}
|
||||||
</div>
|
</div>
|
||||||
<SuggestionBox
|
<SuggestionBox
|
||||||
|
|||||||
@@ -195,11 +195,14 @@
|
|||||||
|
|
||||||
.channel-header__description {
|
.channel-header__description {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 22px;
|
height: 35px;
|
||||||
margin-top: 3px;
|
margin-top: -10px;
|
||||||
max-width: calc(100vw - 730px);
|
max-width: calc(100vw - 720px);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
padding: 3px 0 0;
|
||||||
|
position: relative;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
top: 10px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
|
|
||||||
@@ -209,7 +212,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.multi-teams & {
|
.multi-teams & {
|
||||||
max-width: calc(100vw - 780px);
|
max-width: calc(100vw - 790px);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.light {
|
&.light {
|
||||||
@@ -223,7 +226,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.move--left & {
|
.move--left & {
|
||||||
max-width: calc(100vw - 780px);
|
max-width: calc(100vw - 790px);
|
||||||
|
|
||||||
|
.multi-teams & {
|
||||||
|
max-width: calc(100vw - 840px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-inline-img {
|
.markdown-inline-img {
|
||||||
|
|||||||
@@ -104,13 +104,13 @@
|
|||||||
padding: 0 .5em;
|
padding: 0 .5em;
|
||||||
|
|
||||||
.heading {
|
.heading {
|
||||||
color: $white;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
max-width: calc(100% - 200px);
|
max-width: calc(100% - 200px);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -207,6 +207,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sidebar--right__title {
|
||||||
|
@include clearfix;
|
||||||
|
}
|
||||||
|
|
||||||
.sidebar--right__header {
|
.sidebar--right__header {
|
||||||
@include flex(0 0 44px);
|
@include flex(0 0 44px);
|
||||||
border-bottom: 1px solid;
|
border-bottom: 1px solid;
|
||||||
@@ -214,6 +218,7 @@
|
|||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
height: 44px;
|
height: 44px;
|
||||||
line-height: 44px;
|
line-height: 44px;
|
||||||
|
overflow: hidden;
|
||||||
padding: 0 5px 0 15px;
|
padding: 0 5px 0 15px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -781,10 +781,7 @@
|
|||||||
|
|
||||||
.settings-content {
|
.settings-content {
|
||||||
.section-edit {
|
.section-edit {
|
||||||
padding-right: 0;
|
text-align: left;
|
||||||
position: absolute;
|
|
||||||
right: 15px;
|
|
||||||
top: 14px;
|
|
||||||
|
|
||||||
.fa {
|
.fa {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|||||||
@@ -540,11 +540,11 @@ export function applyTheme(theme) {
|
|||||||
|
|
||||||
if (theme.sidebarHeaderTextColor) {
|
if (theme.sidebarHeaderTextColor) {
|
||||||
changeCss('.app__body .status-wrapper .status_dropdown__toggle .status-edit, .multi-teams .team-sidebar .team-wrapper .team-container .team-btn, .sidebar--left .team__header .header__info, .app__body .sidebar--menu .team__header .header__info, .app__body .post-list__timestamp > div', 'color:' + theme.sidebarHeaderTextColor);
|
changeCss('.app__body .status-wrapper .status_dropdown__toggle .status-edit, .multi-teams .team-sidebar .team-wrapper .team-container .team-btn, .sidebar--left .team__header .header__info, .app__body .sidebar--menu .team__header .header__info, .app__body .post-list__timestamp > div', 'color:' + theme.sidebarHeaderTextColor);
|
||||||
changeCss('.app__body .sidebar--left .status-wrapper .status_dropdown__toggle .offline--icon, .app__body .sidebar-header-dropdown__icon svg', 'fill:' + theme.sidebarHeaderTextColor);
|
changeCss('.app__body .icon--sidebarHeaderTextColor svg, .app__body .sidebar--left .status-wrapper .status_dropdown__toggle .offline--icon, .app__body .sidebar-header-dropdown__icon svg', 'fill:' + theme.sidebarHeaderTextColor);
|
||||||
changeCss('.sidebar--left .team__header .user__name, .app__body .sidebar--menu .team__header .user__name', 'color:' + changeOpacity(theme.sidebarHeaderTextColor, 0.8));
|
changeCss('.sidebar--left .team__header .user__name, .app__body .sidebar--menu .team__header .user__name', 'color:' + changeOpacity(theme.sidebarHeaderTextColor, 0.8));
|
||||||
changeCss('.sidebar--left .team__header:hover .user__name, .app__body .sidebar--menu .team__header:hover .user__name', 'color:' + theme.sidebarHeaderTextColor);
|
changeCss('.sidebar--left .team__header:hover .user__name, .app__body .sidebar--menu .team__header:hover .user__name', 'color:' + theme.sidebarHeaderTextColor);
|
||||||
changeCss('.app__body .modal .modal-header .modal-title, .app__body .modal .modal-header .modal-title .name, .app__body .modal .modal-header button.close', 'color:' + theme.sidebarHeaderTextColor);
|
changeCss('.app__body .modal .modal-header .modal-title, .app__body .modal .modal-header .modal-title .name, .app__body .modal .modal-header button.close', 'color:' + theme.sidebarHeaderTextColor);
|
||||||
changeCss('.app__body #navbar .navbar-default .navbar-brand .heading', 'color:' + theme.sidebarHeaderTextColor);
|
changeCss('.app__body #navbar .navbar-default .navbar-brand .dropdown-toggle', 'color:' + theme.sidebarHeaderTextColor);
|
||||||
changeCss('.app__body #navbar .navbar-default .navbar-toggle .icon-bar', 'background:' + theme.sidebarHeaderTextColor);
|
changeCss('.app__body #navbar .navbar-default .navbar-toggle .icon-bar', 'background:' + theme.sidebarHeaderTextColor);
|
||||||
changeCss('.app__body .post-list__timestamp > div', 'border-color:' + changeOpacity(theme.sidebarHeaderTextColor, 0.5));
|
changeCss('.app__body .post-list__timestamp > div', 'border-color:' + changeOpacity(theme.sidebarHeaderTextColor, 0.5));
|
||||||
changeCss('@media(max-width: 768px){.app__body .search-bar__container', 'color:' + theme.sidebarHeaderTextColor);
|
changeCss('@media(max-width: 768px){.app__body .search-bar__container', 'color:' + theme.sidebarHeaderTextColor);
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user