Toggle navigation
Toggle navigation
This project
Loading...
Sign in
冯杨
/
liveTalking
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
冯杨
2025-04-27 10:19:02 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d5b5e867ef825272c6f520e604ee650b537b1130
d5b5e867
1 parent
669806db
修复demo页的部分bug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
web/webrtcapi.html
web/webrtcapi.html
View file @
d5b5e86
...
...
@@ -176,6 +176,29 @@
opacity
:
1
!important
;
}
/* NEW: Fullscreen media when sidebar is collapsed */
#sidebar
.collapsed
~
#main-content
#media
{
position
:
fixed
;
top
:
0
;
left
:
0
;
width
:
100vw
;
height
:
100vh
;
max-width
:
none
;
max-height
:
none
;
aspect-ratio
:
unset
;
z-index
:
1000
;
/* Ensure it's above other elements like the toggle button */
margin
:
0
;
/* Reset margin */
padding
:
0
;
/* Reset padding */
border-radius
:
0
;
/* Remove any border-radius */
}
/* Optional: Adjust main content padding when sidebar is collapsed */
#sidebar
.collapsed
~
#main-content
{
padding
:
0
;
/* Remove padding as #media takes full screen */
background-color
:
#000
;
/* Match media background */
}
.option
{
display
:
flex
;
align-items
:
center
;
...
...
Please
register
or
login
to post a comment