tauri-app: fix video control bar
This commit is contained in:
@@ -524,6 +524,7 @@ onUnmounted(() => {
|
||||
<div class="review-content">
|
||||
<!-- Video Section -->
|
||||
<div class="video-section with-sidebar">
|
||||
<div class="video-wrapper">
|
||||
<!-- Video Player -->
|
||||
<div class="video-container">
|
||||
<div v-if="videoError" class="video-error">
|
||||
@@ -714,6 +715,7 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Export message -->
|
||||
<div v-if="exportMessage" class="export-message" :class="{ error: exportMessage.includes('failed') }">
|
||||
@@ -974,16 +976,21 @@ onUnmounted(() => {
|
||||
max-width: calc(100% - 350px);
|
||||
}
|
||||
|
||||
.video-wrapper {
|
||||
width: min(100%, calc(75vh * 16 / 9));
|
||||
max-height: calc(75vh + 120px);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.video-container {
|
||||
position: relative;
|
||||
background: #000;
|
||||
aspect-ratio: 16/9;
|
||||
max-height: 75vh;
|
||||
width: min(100%, calc(75vh * 16 / 9));
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.video-player {
|
||||
|
||||
Reference in New Issue
Block a user