fix(ui): center float QR titles and repair UC VIP layout
This commit is contained in:
1 parent
4bbfecb922
commit
ee5a16f9a0
6 files changed
+203
-42
No files matched your search
+6
-2
@@ -466,8 +466,12 @@ if ($floating_enabled) :
|
||||
<a href="#" class="<?php echo esc_attr($item_class); ?>" role="button" aria-label="<?php echo esc_attr($item_text ?: __('二维码', 'aksrt')); ?>"<?php echo $style_attr; ?>>
|
||||
<i class="<?php echo esc_attr($item_icon); ?>" aria-hidden="true"></i>
|
||||
<div class="hover-show-con">
|
||||
<div class="float-btn-qrcode" data-qrcode-url="<?php echo esc_attr(get_permalink() ?: home_url('/')); ?>"></div>
|
||||
<?php if ($item_text !== '') : ?><p><?php echo esc_html($item_text); ?></p><?php endif; ?>
|
||||
<div
|
||||
class="float-btn-qrcode"
|
||||
data-qrcode-url="<?php echo esc_attr(get_permalink() ?: home_url('/')); ?>"
|
||||
data-qr-text="<?php echo esc_attr(get_permalink() ?: home_url('/')); ?>"
|
||||
></div>
|
||||
<?php if ($item_text !== '') : ?><p class="float-btn-qrcode__title"><?php echo esc_html($item_text); ?></p><?php endif; ?>
|
||||
</div>
|
||||
</a>
|
||||
<?php else :
|
||||
|
||||
Reference in new issue
Block a user