Skip to content

Build your personal knowledge base with Trilium Notes

fix(audio): styling on light theme

Elian Doranf8b4c6cb1553
diff --git a/apps/client/src/widgets/type_widgets/file/MediaPlayer.css b/apps/client/src/widgets/type_widgets/file/MediaPlayer.css
index 85490670fa..7307d43b8b 100644
--- a/apps/client/src/widgets/type_widgets/file/MediaPlayer.css
+++ b/apps/client/src/widgets/type_widgets/file/MediaPlayer.css
@@ -2,9 +2,7 @@
padding: 1.25em;
display: flex;
flex-direction: column;
- gap: 0.5em;
- background: rgba(0, 0, 0, 0.5);
- color: white;
+ gap: 0.5em;
.media-buttons-row {
display: flex;
diff --git a/apps/client/src/widgets/type_widgets/file/Video.css b/apps/client/src/widgets/type_widgets/file/Video.css
index 5bbc0ac19e..59475d4e08 100644
--- a/apps/client/src/widgets/type_widgets/file/Video.css
+++ b/apps/client/src/widgets/type_widgets/file/Video.css
@@ -2,7 +2,7 @@
width: 100%;
height: 100%;
position: relative;
- background-color: black;
+ background-color: black;
.video-preview {
background-color: black;
@@ -15,7 +15,7 @@
.video-preview-controls {
opacity: 0;
- pointer-events: none;
+ pointer-events: none;
}
}
@@ -28,5 +28,7 @@
bottom: 0;
left: 0;
right: 0;
+ background: rgba(0, 0, 0, 0.5);
+ color: white;
}
}