fix:首页顶部卡片共享背景布局

This commit is contained in:
kate522 committed 2026-08-19 17:27:47 +08:00
1 parent 4ea8d5f8e8
commit e2b5018fc1
3 files changed
+17 -4

No files matched your search

+3 -1
View File
@@ -280,7 +280,9 @@ if (!function_exists('aksrt_icon_cover_card')) :
// zibll: <a class="main-color" [target] href="...">
$html .= '<a class="main-color" ' . ($tgt !== '' ? ltrim($tgt) . ' ' : '') . 'href="' . esc_url($url) . '">';
}
$html .= '<div class="icon-cover-card flex ac ' . esc_attr((string) $args['class']) . '">';
// Keep every horizontal icon card on the same compact visual contract,
// regardless of the page-specific wrapper that renders it.
$html .= '<div class="icon-cover-card aksrt-icon-cover-card flex ac ' . esc_attr((string) $args['class']) . '">';
$html .= $icon;
$html .= $text !== '' ? '<div class="icon-cover-desc ml10 flex1 px12-sm"> ' . $text . '</div>' : '';
$html .= '</div>';