mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: add max height constraint for board text cell
This commit is contained in:
@ -40,11 +40,12 @@ class _BoardTextCellState extends State<BoardTextCell> {
|
||||
return Align(
|
||||
alignment: Alignment.centerLeft,
|
||||
child: Padding(
|
||||
padding:
|
||||
EdgeInsets.symmetric(vertical: BoardSizes.cardCellVPadding),
|
||||
child: FlowyText.medium(
|
||||
state.content,
|
||||
fontSize: 14,
|
||||
padding: EdgeInsets.symmetric(
|
||||
vertical: BoardSizes.cardCellVPadding,
|
||||
),
|
||||
child: ConstrainedBox(
|
||||
constraints: const BoxConstraints(maxHeight: 120),
|
||||
child: FlowyText.medium(state.content, fontSize: 14),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
Reference in New Issue
Block a user