diff --git a/resources/dist/index.js b/resources/dist/index.js index 8230d2868..d45b85825 100644 Binary files a/resources/dist/index.js and b/resources/dist/index.js differ diff --git a/resources/dist/index.js.map.json b/resources/dist/index.js.map.json index be7088e0e..0929ec648 100644 Binary files a/resources/dist/index.js.map.json and b/resources/dist/index.js.map.json differ diff --git a/src/ui/renderer.js b/src/ui/renderer.js index 7485084c7..7775fef83 100644 --- a/src/ui/renderer.js +++ b/src/ui/renderer.js @@ -268,7 +268,7 @@ export function show( // Trigger fading effect for reference previews after the popup has been rendered if ( preview.el.hasClass( 'mwe-popups-type-reference' ) ) { - preview.el.find( '.mw-parser-output' ).first().trigger( 'scroll' ); + preview.el.find( '.mwe-popups-scroll' ).first().trigger( 'scroll' ); } return wait( 200 ) diff --git a/src/ui/templates/referencePreview/referencePreview.js b/src/ui/templates/referencePreview/referencePreview.js index 4353446cd..09ec69579 100644 --- a/src/ui/templates/referencePreview/referencePreview.js +++ b/src/ui/templates/referencePreview/referencePreview.js @@ -42,12 +42,14 @@ export function renderReferencePreview( const $el = renderPopup( model.type, ` - - - ${title} -
-
${model.extract}
+
+ + + ${title} + +
${model.extract}
+