2222<template >
2323 <header id =" header" class =" header" >
2424 <div class =" header__inner" >
25- <div v-if =" !OS.isMac"
26- class =" header__title-wrapper"
27- role =" button"
28- tabindex =" 0"
29- @click =" pushToRoot" >
30- <span class =" header__title" >Nextcloud Talk</span >
31- <span class =" header__preview-badge" >Preview</span >
32- </div >
25+ <!-- < div v-if="!OS.isMac"-->
26+ <!-- class="header__title-wrapper"-->
27+ <!-- role="button"-->
28+ <!-- tabindex="0"-->
29+ <!-- @click="pushToRoot"> -- >
30+ <!-- <span class="header__title">Nextcloud Talk</span> -- >
31+ <!-- <span class="header__preview-badge">Preview</span> -- >
32+ <!-- < /div> -- >
3333
3434 <div class =" spacer" />
3535
@@ -86,13 +86,34 @@ export default {
8686}
8787 </script >
8888
89+ <style >
90+ :root {
91+ --talk-desktop-menu : calc (100vw - (env(titlebar-area-width, 100vw ) - 54px ));
92+ }
93+
94+ body :has (.app-sidebar [style = ' display: none;' ]) .top-bar {
95+ padding-right : var (--talk-desktop-menu ) !important ;
96+ }
97+
98+ .app-sidebar-header__desc {
99+ padding-right : calc (50px + var (--talk-desktop-menu )) !important ;
100+ }
101+
102+ .app-sidebar__close {
103+ right : calc (6px + var (--talk-desktop-menu )) !important ;
104+ }
105+ </style >
106+
89107<style scoped>
90108.header {
91- height : 50 px ;
109+ height : 60 px ;
92110 box-sizing : border-box ;
93- margin-bottom : -50px ;
111+ /* margin-bottom: -50px;*/
94112 color : #FFF ;
95- user-select : none ;
113+ position : absolute ;
114+ top : 0 ;
115+ right : calc (100vw - env(titlebar-area-width, 100vw ));
116+ z-index : 1000 ;
96117}
97118
98119.header__inner {
@@ -102,7 +123,6 @@ export default {
102123 height : 100% ;
103124 /* Save space for native title bar buttons */
104125 margin-inline-start : env(titlebar-area-x, 0 );
105- width : env(titlebar-area-width, 100% );
106126}
107127
108128.header__item {
@@ -136,6 +156,6 @@ export default {
136156 flex : 1 0 auto ;
137157 height : 100% ;
138158 /* Allow to drag the window using header */
139- app-region : drag;
159+ /* app-region: drag;*/
140160}
141161 </style >
0 commit comments