fix: remove redundant preview header from editor PreviewPanel
This commit is contained in:
@@ -31,7 +31,6 @@ function togglePlay() {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="preview-panel">
|
<div class="preview-panel">
|
||||||
<div class="preview-header">预览</div>
|
|
||||||
<div class="preview-video" v-if="videoUrl">
|
<div class="preview-video" v-if="videoUrl">
|
||||||
<video ref="videoRef" preload="auto" />
|
<video ref="videoRef" preload="auto" />
|
||||||
<div class="preview-controls">
|
<div class="preview-controls">
|
||||||
@@ -56,17 +55,6 @@ function togglePlay() {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.preview-header {
|
|
||||||
padding: 14px 16px;
|
|
||||||
font-size: 14px;
|
|
||||||
color: #888;
|
|
||||||
border-bottom: 1px solid rgba(255,255,255,0.06);
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 1px;
|
|
||||||
width: 100%;
|
|
||||||
flex-shrink: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.preview-video {
|
.preview-video {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
Reference in New Issue
Block a user