Skip to content

Commit 48dac45

Browse files
scott graysonscott grayson
scott grayson
authored and
scott grayson
committed
add help text for fullscreen with no controls
1 parent fab8e68 commit 48dac45

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

dist/filament-lms.css

+9
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@
176176
margin-top: 1rem
177177
}
178178

179+
.mt-2 {
180+
margin-top: 0.5rem
181+
}
182+
179183
.flex {
180184
display: flex
181185
}
@@ -371,6 +375,11 @@
371375
color: rgb(255 255 255 / var(--tw-text-opacity, 1))
372376
}
373377

378+
.text-gray-600 {
379+
--tw-text-opacity: 1;
380+
color: rgb(75 85 99 / var(--tw-text-opacity, 1))
381+
}
382+
374383
.antialiased {
375384
-webkit-font-smoothing: antialiased;
376385
-moz-osx-font-smoothing: grayscale

resources/views/livewire/video-player.blade.php

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<div>
22
<div class="vidstack-player-custom" wire:ignore id="target"></div>
3+
<p class="text-sm text-gray-600 text-center mt-2">
4+
Click to play/pause • Double click for fullscreen
5+
</p>
36
</div>
47

58
@assets
@@ -10,6 +13,7 @@
1013
.vidstack-player-custom {
1114
height: 80vh;
1215
max-width: calc(80vh * 16/9);
16+
margin: 0 auto;
1317
}
1418
1519
@if (! auth()->user()->is_admin)

0 commit comments

Comments
 (0)