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 1
1
.vac-room-header {
2
- position : fixed ;
2
+ position : var ( --chat-header-position ) ;
3
3
display : flex ;
4
4
align-items : center ;
5
5
height : 64px ;
6
- width : 100 % ;
6
+ width : var ( --chat-header-width ) ;
7
7
z-index : 10 ;
8
8
margin-right : 1px ;
9
9
background : var (--chat-header-bg-color );
Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ export const defaultThemeStyles = {
23
23
header : {
24
24
background : '#fff' ,
25
25
colorRoomName : '#0a0a0a' ,
26
- colorRoomInfo : '#9ca6af'
26
+ colorRoomInfo : '#9ca6af' ,
27
+ position : 'absolute' ,
28
+ width : '100%' ,
27
29
} ,
28
30
29
31
footer : {
@@ -168,7 +170,9 @@ export const defaultThemeStyles = {
168
170
header : {
169
171
background : '#181a1b' ,
170
172
colorRoomName : '#fff' ,
171
- colorRoomInfo : '#9ca6af'
173
+ colorRoomInfo : '#9ca6af' ,
174
+ position : 'absolute' ,
175
+ width : '100%'
172
176
} ,
173
177
174
178
footer : {
@@ -327,6 +331,8 @@ export const cssThemeVars = ({
327
331
'--chat-header-bg-color' : header . background ,
328
332
'--chat-header-color-name' : header . colorRoomName ,
329
333
'--chat-header-color-info' : header . colorRoomInfo ,
334
+ '--chat-header-position' : header . position ,
335
+ '--chat-header-width' : header . width ,
330
336
331
337
// footer
332
338
'--chat-footer-bg-color' : footer . background ,
You can’t perform that action at this time.
0 commit comments