This commit is contained in:
syuilo 2020-07-26 13:16:32 +09:00
parent 3f2ffcea97
commit 55be9cc9d1

View File

@ -68,6 +68,9 @@ export default define({
<style lang="scss" scoped> <style lang="scss" scoped>
.wbrkwalb { .wbrkwalb {
$bodyTitleHieght: 18px;
$bodyInfoHieght: 16px;
height: (62px + 1px) + (62px + 1px) + (62px + 1px) + (62px + 1px) + 62px; height: (62px + 1px) + (62px + 1px) + (62px + 1px) + (62px + 1px) + 62px;
overflow: hidden; overflow: hidden;
@ -84,9 +87,11 @@ export default define({
> img { > img {
display: block; display: block;
width: 30px; width: ($bodyTitleHieght + $bodyInfoHieght);
height: 30px; height: ($bodyTitleHieght + $bodyInfoHieght);
object-fit: cover; object-fit: cover;
border-radius: 4px;
margin-right: 8px;
} }
> .body { > .body {
@ -101,14 +106,14 @@ export default define({
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
line-height: 18px; line-height: $bodyTitleHieght;
} }
> p { > p {
margin: 0; margin: 0;
font-size: 75%; font-size: 75%;
opacity: 0.7; opacity: 0.7;
line-height: 16px; line-height: $bodyInfoHieght;
} }
} }