fix(widgets): render article sidebar by viewport CSS

This commit is contained in:
kate522 committed 2026-08-14 12:39:37 +08:00
1 parent 224797cc39
commit f8dd319524
3 files changed
+9 -4

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ if (!function_exists('aksrt_single_render_aside')) :
* @param array<string,mixed> $ctx Single context.
*/
function aksrt_single_render_aside(array $ctx): void {
if (empty($ctx['show_aside']) || wp_is_mobile()) {
if (empty($ctx['show_aside'])) {
return;
}