Parcourir la source

Merge pull request #7948 from weseek/fix/128037-fix-lightbox

fix: Add option to lightbox
Yuki Takei il y a 2 ans
Parent
commit
853fa1e9b5
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      apps/app/src/components/ReactMarkdownComponents/LightBox.tsx

+ 1 - 0
apps/app/src/components/ReactMarkdownComponents/LightBox.tsx

@@ -10,6 +10,7 @@ export const LightBox = (props) => {
       <FsLightbox
         toggler={toggler}
         sources={[props.src]}
+        type="image"
       />
     </>
   );