diff --git a/install/package.json b/install/package.json index 35afca14e9..cd012a773e 100644 --- a/install/package.json +++ b/install/package.json @@ -107,7 +107,7 @@ "nodebb-theme-harmony": "1.2.59", "nodebb-theme-lavender": "7.1.8", "nodebb-theme-peace": "2.2.5", - "nodebb-theme-persona": "13.3.21", + "nodebb-theme-persona": "13.3.22", "nodebb-widget-essentials": "7.0.16", "nodemailer": "6.9.14", "nprogress": "0.2.0", diff --git a/public/scss/global.scss b/public/scss/global.scss index 394eec646e..a33e74eb35 100644 --- a/public/scss/global.scss +++ b/public/scss/global.scss @@ -20,3 +20,20 @@ html[data-dir="rtl"] { } } /*rtl:end:ignore*/ + +[component="post/content"], [component="chat/message/body"], [component="composer"] .preview { + h1 { font-size: calc(1.125rem + 1vw); } + h2 { font-size: calc(1.1rem + 0.8vw); } + h3 { font-size: calc(1.075rem + 0.6vw); } + h4 { font-size: calc(1.05rem + 0.3vw); } + h5 { font-size: 1.125rem; } + h6 { font-size: 1rem; } + @include media-breakpoint-up(xl) { + h1 { font-size: 1.625rem; } + h2 { font-size: 1.5rem; } + h3 { font-size: 1.375rem; } + h4 { font-size: 1.250rem; } + h5 { font-size: 1.125rem; } + h6 { font-size: 1rem; } + } +} \ No newline at end of file diff --git a/public/src/client/topic.js b/public/src/client/topic.js index 49f2c1bc42..3e7ffa7ee9 100644 --- a/public/src/client/topic.js +++ b/public/src/client/topic.js @@ -297,7 +297,7 @@ define('forum/topic', [ destroyed = true; } $(window).one('action:ajaxify.start', destroyTooltip); - $('[component="topic"]').on('mouseenter', '[component="post"] [component="post/content"] a, [component="topic/event"] a', async function () { + $('[component="topic"]').on('mouseenter', '[component="post/parent"] a, [component="post/content"] a, [component="topic/event"] a', async function () { const link = $(this); destroyed = false;