Skip to content

Commit 2ff3df7

Browse files
fix: improve player loading state and stable code block selector
1 parent b8ceaa7 commit 2ff3df7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/components/responsive-player/ResponsivePlayer.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ function ResponsivePlayer({url, loop, playing}) {
2020
aria-label="Loading video player"
2121
>
2222
<div className="h-8 w-8 animate-spin rounded-full border-2 border-gray-400 border-t-transparent dark:border-gray-500" />
23-
<span className="sr-only">Loading video player</span>
23+
<span className="ml-3 text-sm font-medium text-gray-600 dark:text-gray-300">
24+
Loading video player...
25+
</span>
2426
</div>
2527
}
2628
>

src/css/custom.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,8 @@ td img {
806806
margin: 0;
807807
}
808808

809-
.codeBlockContainer_node_modules-\@docusaurus-theme-classic-lib-next-theme-CodeBlock-styles-module {
809+
[class^="codeBlockContainer_"],
810+
[class*=" codeBlockContainer_"] {
810811
box-shadow: none !important;
811812
margin: 0;
812813
padding: 0;

0 commit comments

Comments
 (0)