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