fix(vue3): adjust layout for Talk integrations

Signed-off-by: Dorra Jaouad <dorra.jaoued7@gmail.com>
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
This commit is contained in:
Dorra Jaouad
2025-06-23 16:10:48 +02:00
committed by Maksim Sukharev
parent 5147c29f92
commit d01c35b1de
2 changed files with 4 additions and 4 deletions

View File

@ -281,6 +281,7 @@ footer {
<style lang="scss" scoped>
/* Properties based on the app-sidebar */
#talk-sidebar {
height: 100%;
position: relative;
flex-shrink: 0;
width: clamp(300px, 27vw, 500px);

View File

@ -50,10 +50,9 @@ window.addEventListener('DOMContentLoaded', () => {
}
// Dirty hack to force the style on parent component
const tabChat = document.querySelector('#tab-chat')
tabChat.style.height = '100%'
// Remove paddding to maximize space for the chat view
tabChat.style.padding = '0'
el.style.height = '100%'
// Remove padding to maximize space for the chat view
el.style.padding = '0'
OCA.Talk.fileInfo = this.fileInfo
tabInstance = OCA.Talk.newTab()