mod: 封面图比例

This commit is contained in:
guozhigq
2023-04-19 14:22:35 +08:00
parent 40b88eeeb2
commit 96e9dcc040
5 changed files with 11 additions and 11 deletions

View File

@ -26,7 +26,7 @@ class VideoCardH extends StatelessWidget {
StyleString.cardSpace, 5, StyleString.cardSpace, 5),
child: LayoutBuilder(builder: (context, boxConstraints) {
double width =
(boxConstraints.maxWidth - StyleString.cardSpace * 3) / 2;
(boxConstraints.maxWidth - StyleString.cardSpace * 6) / 2;
return SizedBox(
height: width / StyleString.aspectRatio,
child: Row(