Tiny layout edits

This commit is contained in:
Ryan Pandya 2023-07-08 18:03:50 -07:00
parent b110ea0cb9
commit a7830aec27

View File

@ -127,7 +127,7 @@ class _DayViewState extends State<DayView> {
child: Text(
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 20,
fontSize: 18,
),
formatDate(
format: 'EEEEE, LLLL dd, yyyy',
@ -228,7 +228,9 @@ class _DayViewState extends State<DayView> {
comments: value);
},
)
: Text(comments.isEmpty ? "No comments yet." : comments),
: Text(
style: TextStyle(fontSize: 16),
comments.isEmpty ? "No comments yet." : comments),
),
SizedBox(width: 30),
_editable
@ -536,6 +538,7 @@ class _HourFormFieldState extends State<HourFormField> {
child: Consumer<DatabaseAPI>(builder: (context, database, child) {
return TextFormField(
showCursor: false,
autofillHints: [],
key: Key(
"hourField-${widget.dayEntry.$id}-${widget.index.toString()}"),
onTap: () {},
@ -556,8 +559,12 @@ class _HourFormFieldState extends State<HourFormField> {
}),
),
SizedBox(width: 40),
Text(
style: TextStyle(color: fgColor, fontFamily: "Monospace"), catName),
Expanded(
child: Text(
overflow: TextOverflow.ellipsis,
style: TextStyle(color: fgColor, fontFamily: "Monospace"),
catName),
),
],
);
}