Просмотр исходного кода

refactor(webrtc-stream): update title and adjust styling for improved layout

- Simplified the title in the WebRTC playback component by removing the temporary note.
- Modified the CSS to set the container height to 100% and enable overflow, enhancing the overall layout and user experience.
yb 2 недель назад
Родитель
Сommit
4a104b9080
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      src/views/demo/webrtc-stream.vue

+ 3 - 2
src/views/demo/webrtc-stream.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="page-container">
     <div class="page-header">
-      <span class="title">WebRTC 播放 (暂时使用go2rtc)</span>
+      <span class="title">WebRTC 播放</span>
       <!-- <el-tag type="success" size="small" style="margin-left: 10px">延迟 &lt; 2s</el-tag> -->
     </div>
 
@@ -418,8 +418,9 @@ async function handleZoomRelease() {
 
 <style lang="scss" scoped>
 .page-container {
-  min-height: 100vh;
   background-color: var(--bg-page);
+  height: 100%;
+  overflow: auto;
 }
 
 .page-header {