Skip to content

Commit d1ff150

Browse files
committed
chore(component): update layout on pu-video
1 parent 56aa352 commit d1ff150

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/runtime/components/PUVideo.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ watch(isMuted, (newVal) => {
8383
ref="videoRef"
8484
:src="src"
8585
:poster="poster"
86-
class="w-full aspect-video bg-black"
86+
class="w-full aspect-video bg-white"
8787
/>
8888

89-
<div class="absolute bottom-0 left-0 w-full bg-primary-light-500 text-white p-2 flex items-center gap-3">
89+
<div class="absolute -bottom-1 -left-1 w-[calc(100%+.5rem)] bg-white border-2 border-primary-light-500 rounded-b-lg text-primary-light-500 p-2 flex items-center gap-3">
9090
<button @click="togglePlay">
9191
<PUIcon
9292
:name="isPlaying ? 'pause' : 'play'"
@@ -96,14 +96,14 @@ watch(isMuted, (newVal) => {
9696

9797
<input
9898
type="range"
99-
class="flex-1 accent-white"
99+
class="flex-1 accent-primary-light-500"
100100
min="0"
101101
:max="duration"
102102
:value="currentTime"
103103
@input="seek"
104104
>
105105

106-
<span class="text-xs">{{ formatTime(currentTime) }} / {{ formatTime(duration) }}</span>
106+
<span class="text-sm font-bold font-patrick">{{ formatTime(currentTime) }} / {{ formatTime(duration) }}</span>
107107

108108
<button @click="toggleMute">
109109
<PUIcon
@@ -113,7 +113,7 @@ watch(isMuted, (newVal) => {
113113
</button>
114114
<input
115115
type="range"
116-
class="w-16 accent-white"
116+
class="w-16 accent-primary-light-500"
117117
min="0"
118118
max="1"
119119
step="0.1"

0 commit comments

Comments
 (0)