mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[improvement] Card: optimize css (#747)
This commit is contained in:
parent
ed3221747f
commit
deffdcb7b1
@ -9,8 +9,7 @@
|
||||
color: @text-color;
|
||||
font-size: 12px;
|
||||
|
||||
&--center,
|
||||
&__thumb {
|
||||
&--center {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
@ -24,25 +23,17 @@
|
||||
}
|
||||
|
||||
&__img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
border: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
&,
|
||||
&__thumb,
|
||||
&__row,
|
||||
&__content {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
&__content {
|
||||
width: 100%;
|
||||
|
||||
&--center {
|
||||
align-items: center;
|
||||
height: 90px;
|
||||
}
|
||||
}
|
||||
|
||||
&__title,
|
||||
|
Loading…
x
Reference in New Issue
Block a user