我正在撰写一份复读申请,其中我使用了材料证明(和诱使 alignment调和 st)。 这是我的卡片法典:
<Card elevation={10} className="mb-3">
<div className="row">
<div className="col-md-4">
<CardMedia
image={
tourspot.images.length !== 0
? tourspot.images[0].url
: "/src/assets/no-image.png"
}
title="Tourspot Image"
component="img"
className="img-fluid"
/>
</div>
<div className="col-md-8">
<CardContent>
<Typography gutterBottom variant="h5" component="div">
{tourspot.title}
</Typography>
<Typography component="p" className="mb-3">
{tourspot.description}
</Typography>
<Typography variant="body2" color="text.secondary">
{tourspot.location}
</Typography>
</CardContent>
<CardActions>
<Button variant="text" size="small">
View Tourist Spot
</Button>
</CardActions>
</div>
</div>
</Card>;
However, I cannot get the text and the button to align, it looks like this currently: Card Image
任何帮助如何做到这一点?
我试图在纽芬兰和心脏行动中增加幅度,但不管我所增加多少幅度,他们都赢得了udge。