File tree 3 files changed +5
-2
lines changed
src/components/ui/markdown
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ const MarkdownImage = (props: any) => {
261
261
const { w } = useWrappedElementSize ( )
262
262
263
263
if ( props . src . endsWith ( '.mp4' ) ) {
264
- return < video src = { props . src } controls playsInline />
264
+ return < video src = { props . src } controls playsInline autoPlay />
265
265
}
266
266
267
267
return < FixedZoomedImage { ...nextProps } containerWidth = { w } />
Original file line number Diff line number Diff line change 2
2
@apply relative;
3
3
4
4
: global {
5
+ kbd {
6
+ @apply kbd kbd-sm;
7
+ }
5
8
& .spoiler {
6
9
position : relative;
7
10
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export const LinkRenderer = ({ href }: { href: string }) => {
66
66
< >
67
67
< iframe
68
68
src = { `https://gist.github.com/${ owner } /${ id } .pibb` }
69
- className = "max-h-[300px ] w-full overflow-auto border-0"
69
+ className = "max-h-[50vh ] w-full overflow-auto border-0"
70
70
/>
71
71
72
72
< a
You can’t perform that action at this time.
0 commit comments