mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-24 22:57:12 -04:00
fix: text overflow on time in event card (#2434)
This commit is contained in:
parent
d5b70c842b
commit
95bc325e85
1 changed files with 16 additions and 9 deletions
|
@ -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,
|
||||||
|
),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue