File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 11.vac-room-header {
2- position : fixed ;
2+ position : var ( --chat-header-position ) ;
33 display : flex ;
44 align-items : center ;
55 height : 64px ;
6- width : 100 % ;
6+ width : var ( --chat-header-width ) ;
77 z-index : 10 ;
88 margin-right : 1px ;
99 background : var (--chat-header-bg-color );
Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ export const defaultThemeStyles = {
2323 header : {
2424 background : '#fff' ,
2525 colorRoomName : '#0a0a0a' ,
26- colorRoomInfo : '#9ca6af'
26+ colorRoomInfo : '#9ca6af' ,
27+ position : 'absolute' ,
28+ width : '100%' ,
2729 } ,
2830
2931 footer : {
@@ -168,7 +170,9 @@ export const defaultThemeStyles = {
168170 header : {
169171 background : '#181a1b' ,
170172 colorRoomName : '#fff' ,
171- colorRoomInfo : '#9ca6af'
173+ colorRoomInfo : '#9ca6af' ,
174+ position : 'absolute' ,
175+ width : '100%'
172176 } ,
173177
174178 footer : {
@@ -327,6 +331,8 @@ export const cssThemeVars = ({
327331 '--chat-header-bg-color' : header . background ,
328332 '--chat-header-color-name' : header . colorRoomName ,
329333 '--chat-header-color-info' : header . colorRoomInfo ,
334+ '--chat-header-position' : header . position ,
335+ '--chat-header-width' : header . width ,
330336
331337 // footer
332338 '--chat-footer-bg-color' : footer . background ,
You can’t perform that action at this time.
0 commit comments