Merge pull request 'fix(nav): align VIP hover card titles' (#433) from worktree-fix-vip-nav-card-alignment into main
Reviewed-on: http://202.140.142.253:3001/CYL/wordpress-theme-aksrt/pulls/433
This commit is contained in:
commit
01e9a0f4ca
2 files changed
+18
-3
No files matched your search
@@ -591,13 +591,28 @@ body.theme-dark body > .drop-newadd .newadd-btns__item {
|
||||
}
|
||||
|
||||
.sub-vip-card .vip-name {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 16px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.sub-vip-card .vip-name .mr6 {
|
||||
margin-right: 6px;
|
||||
.sub-vip-card .vip-name__icon {
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.sub-vip-card .vip-name__icon .aksrt-vip-level-icon {
|
||||
display: block;
|
||||
height: 1.1em;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.sub-vip-card .vip-name__label {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.sub-vip-card .v-equity,
|
||||
|
||||
@@ -170,7 +170,7 @@ trait VipServiceModal {
|
||||
$html .= '<div class="vip-baicon" aria-hidden="true">' . $icon . '</div>';
|
||||
$html .= '<div class="vip-img abs-right">' . $icon . '</div>';
|
||||
$html .= '<div class="relative">';
|
||||
$html .= '<div class="vip-name mb10"><span class="mr6">' . $icon . '</span>' . esc_html($name) . '</div>';
|
||||
$html .= '<div class="vip-name mb10"><span class="vip-name__icon">' . $icon . '</span><span class="vip-name__label">' . esc_html($name) . '</span></div>';
|
||||
if ($desc !== '') {
|
||||
$html .= '<div class="mb6 font-bold em09">' . esc_html($desc) . '</div>';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user