我在 React (semantic-ui-react) 中使用语义 ui 来显示卡片。我需要一个 pinterest 样式的布局,其中卡片将根据存在的文本数量具有不同的高度。
....
<Card.Content>
<Card.Header className="textheader">
<b>{this.props.tittle}</b>
</Card.Header>
</Card.Content>
<CardsExtra question="My Question goes here"/>
....
我想要的是对于一个包含更多单词的问题,卡片的高度应该增加。目前,所有卡片的高度都与具有最大高度(最大字数)的那张卡片的高度相同。
提前致谢。