fix(frontend): match navigation icon divider spacing
This commit is contained in:
1 parent
f019760297
commit
b520d29368
2 files changed
+25
-3
No files matched your search
@@ -343,7 +343,7 @@ if (!function_exists('aksrt_menu_button')) :
|
||||
if ($unread > 0) {
|
||||
$notification_but .= '<span class="aksrt-notification-badge">' . esc_html((string) min(99, $unread)) . '</span>';
|
||||
}
|
||||
$notification_but .= "</a></li>\n";
|
||||
$notification_but .= '</a></li>';
|
||||
}
|
||||
|
||||
$sign_but = '';
|
||||
@@ -372,8 +372,8 @@ if (!function_exists('aksrt_menu_button')) :
|
||||
. esc_attr__('打开搜索', 'aksrt') . '"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-search"></use></svg></a></li>';
|
||||
}
|
||||
|
||||
// Inline list items retain the reference whitespace between controls.
|
||||
$sign_but .= "\n";
|
||||
// Match the reference's adjacent inline items; text whitespace adds a gap
|
||||
// before each divider on top of the list item's own horizontal padding.
|
||||
$account = '<ul class="list-inline splitters relative">'
|
||||
. $notification_but . $sign_but . $search_but . '</ul>';
|
||||
|
||||
|
||||
Reference in new issue
Block a user