PLT-5699 Improvements to channel switcher (#6486)

* Refactor channel switcher to not wait on server results

* Change channel switcher to quick switcher and include team switching

* Add sections, update ordering and add discoverability button

* Fix styling error

* Use CMD in text if on mac

* Clean yarn cache on every install

* Various UX updates per feedback

* Add shortcut help text for team switcher

* Couple more updates per feedback

* Some minor fixes for GM and autocomplete race

* Updating UI for channel switcher (#6504)

* Updating channel switcher button (#6506)

* Updating switcher modal on mobile (#6507)

* Removed jQuery usage

* Rename function to toggleQuickSwitchModal
Этот коммит содержится в:
Joram Wilander
2017-05-31 16:51:42 -04:00
коммит произвёл GitHub
родитель 8ce72aedc3
Коммит 5aaedb9663
23 изменённых файлов: 900 добавлений и 345 удалений

Просмотреть файл

@@ -1059,17 +1059,13 @@
}
.nav-pills__container {
height: 100%;
height: calc(100% - 50px);
}
> div {
padding-bottom: 70px;
}
.nav-pills__unread-indicator-bottom {
bottom: 10px;
}
.nav-pills__unread-indicator {
width: 260px;
}
@@ -1321,6 +1317,7 @@
}
}
}
.post {
.attachment {
.attachment__image {
@@ -1545,6 +1542,7 @@
top: 60px;
width: calc(100% - 30px);
}
.post {
.attachment {
.attachment__image {
@@ -1557,6 +1555,19 @@
}
@media screen and (max-width: 480px) {
.nav-tabs {
margin-top: 1em;
> li {
margin-right: 0;
a {
font-size: .9em;
padding: 6px 11px;
}
}
}
.sidebar--right {
.post {
&.post--compact {