From da87a426aa3a06e247e6638b9c837884f46a0f39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Thu, 1 Dec 2022 20:02:20 +0100 Subject: [PATCH] Revert @nextcloud/vue changes to sidebar scrolling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since @nextcloud/vue 7.1.0-beta.0 the tabs in the right sidebar expand to the full height of its contents, which causes the sidebar to be fully scrollable, rather than scrollable only in the tab contents, which breaks the chat when shown in the sidebar. Until a better fix is found for now the changes in the sidebar CSS from @nextcloud/vue that causes that are reverted specifically for Talk. Signed-off-by: Daniel Calviño Sánchez --- src/components/RightSidebar/RightSidebar.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/RightSidebar/RightSidebar.vue b/src/components/RightSidebar/RightSidebar.vue index 4ca13fd87..b1884fe2e 100644 --- a/src/components/RightSidebar/RightSidebar.vue +++ b/src/components/RightSidebar/RightSidebar.vue @@ -347,6 +347,10 @@ export default { flex-direction: column; } +::v-deep .app-sidebar-tabs { + min-height: 0; +} + .app-sidebar-tabs__content #tab-chat { /* Remove padding to maximize the space for the chat view. */ padding: 0;