mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: text overflow on time in event card (#2434)
This commit is contained in:
@ -122,17 +122,24 @@ class CalendarDayCard extends StatelessWidget {
|
|||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 2),
|
padding: const EdgeInsets.symmetric(vertical: 2),
|
||||||
child: Row(
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
FlowyText.regular(
|
Flexible(
|
||||||
cellData.date,
|
flex: 3,
|
||||||
fontSize: 10,
|
child: FlowyText.regular(
|
||||||
color: Theme.of(context).hintColor,
|
cellData.date,
|
||||||
|
fontSize: 10,
|
||||||
|
color: Theme.of(context).hintColor,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
const Spacer(),
|
Flexible(
|
||||||
FlowyText.regular(
|
child: FlowyText.regular(
|
||||||
cellData.time,
|
cellData.time,
|
||||||
fontSize: 10,
|
fontSize: 10,
|
||||||
color: Theme.of(context).hintColor,
|
color: Theme.of(context).hintColor,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
|
),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user