Skip to content

Commit 67d10e5

Browse files
fix: improve player loading state and stable code block selector
1 parent 33a1af5 commit 67d10e5

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

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
@@ -694,7 +694,8 @@ td img {
694694
margin: 0;
695695
}
696696

697-
.codeBlockContainer_node_modules-\@docusaurus-theme-classic-lib-next-theme-CodeBlock-styles-module {
697+
[class^="codeBlockContainer_"],
698+
[class*=" codeBlockContainer_"] {
698699
box-shadow: none !important;
699700
margin: 0;
700701
padding: 0;

0 commit comments

Comments
 (0)