mirror of
https://github.com/TeamPiped/Piped.git
synced 2026-03-28 03:16:58 +00:00
fix: make theater mode toggle button visible on light theme
The chevron button to toggle theater mode was invisible on the light theme because it inherited the dark text color while being positioned against the video's dark background. Adding text-white ensures the button is always visible regardless of the selected theme, since it always appears against the dark video background. Fixes #4072 Signed-off-by: pierreeurope <pierre.europe@pm.me>
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
<button
|
<button
|
||||||
v-if="!isMobile"
|
v-if="!isMobile"
|
||||||
:class="theaterMode ? '-ml-5' : '-mr-5'"
|
:class="theaterMode ? '-ml-5' : '-mr-5'"
|
||||||
class="z-10"
|
class="z-10 text-white"
|
||||||
@click="
|
@click="
|
||||||
theaterMode = !theaterMode;
|
theaterMode = !theaterMode;
|
||||||
setPreference('theaterMode', theaterMode);
|
setPreference('theaterMode', theaterMode);
|
||||||
|
|||||||
Reference in New Issue
Block a user