mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
style(Sku): currency symbol should align to bottom (#6274)
This commit is contained in:
parent
f6ae795439
commit
44911c3739
@ -62,7 +62,7 @@ function SkuHeader(
|
||||
<img src={goodsImg} />
|
||||
{slots['sku-header-image-extra']?.()}
|
||||
</div>
|
||||
<div class={bem('goods-info')}>{slots.default && slots.default()}</div>
|
||||
<div class={bem('goods-info')}>{slots.default?.()}</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -68,13 +68,13 @@
|
||||
|
||||
&__price-symbol {
|
||||
font-size: @font-size-lg;
|
||||
vertical-align: middle;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
&__price-num {
|
||||
font-weight: @font-weight-bold;
|
||||
font-size: 22px;
|
||||
vertical-align: middle;
|
||||
vertical-align: bottom;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
@ -91,7 +91,6 @@
|
||||
color: @red;
|
||||
font-size: @font-size-sm;
|
||||
line-height: 16px;
|
||||
vertical-align: middle;
|
||||
border-radius: 8px;
|
||||
|
||||
&::before {
|
||||
|
Loading…
x
Reference in New Issue
Block a user