Fix bug with no opening shared media
Fix chat input height for handhelds
This commit is contained in:
parent
47f41e1a45
commit
847951d60a
@ -108,13 +108,13 @@ export class AppSidebarRight extends SidebarSlider {
|
|||||||
|
|
||||||
document.body.classList.toggle(RIGHT_COLUMN_ACTIVE_CLASSNAME, enable);
|
document.body.classList.toggle(RIGHT_COLUMN_ACTIVE_CLASSNAME, enable);
|
||||||
//console.log('sidebar selectTab', enable, willChange);
|
//console.log('sidebar selectTab', enable, willChange);
|
||||||
if(mediaSizes.isMobile) {
|
//if(mediaSizes.isMobile) {
|
||||||
//appImManager._selectTab(active ? 1 : 2);
|
//appImManager._selectTab(active ? 1 : 2);
|
||||||
appImManager.selectTab(active ? 1 : 2);
|
appImManager.selectTab(active ? 1 : 2);
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
setTimeout(resolve, 250); // delay of slider animation
|
setTimeout(resolve, mediaSizes.isMobile ? 250 : 200); // delay of slider animation
|
||||||
});
|
});
|
||||||
}
|
//}
|
||||||
|
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
setTimeout(resolve, 200); // delay for third column open
|
setTimeout(resolve, 200); // delay for third column open
|
||||||
|
@ -292,6 +292,14 @@ $chat-helper-size: 39px;
|
|||||||
outline: none;
|
outline: none;
|
||||||
cursor: text;
|
cursor: text;
|
||||||
|
|
||||||
|
@media only screen and (max-height: 30rem) {
|
||||||
|
max-height: unquote('max(39px, calc(100vh - 10rem))');
|
||||||
|
}
|
||||||
|
|
||||||
|
@include respond-to(handhelds) {
|
||||||
|
max-height: 10rem;
|
||||||
|
}
|
||||||
|
|
||||||
/* span.emoji {
|
/* span.emoji {
|
||||||
font-size: .95rem;
|
font-size: .95rem;
|
||||||
} */
|
} */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user