💄 Optimize styling

This commit is contained in:
LittleSheep 2024-12-22 17:30:41 +08:00
parent 85d2eff7f8
commit d1eb51c596
2 changed files with 4 additions and 4 deletions

View File

@ -181,11 +181,11 @@ class _ExploreScreenState extends State<ExploreScreen> {
const Gap(8),
],
bottom: PreferredSize(
preferredSize: const Size.fromHeight(40),
preferredSize: const Size.fromHeight(50),
child: SizedBox(
height: 40,
height: 50,
child: ListView.builder(
padding: const EdgeInsets.only(left: 8, right: 8, bottom: 8),
padding: const EdgeInsets.only(left: 8, right: 8, bottom: 12),
scrollDirection: Axis.horizontal,
itemCount: _categories.length,
itemBuilder: (context, idx) {

View File

@ -142,7 +142,7 @@ class ChatMessage extends StatelessWidget {
onEdit: onEdit,
onDelete: onDelete,
),
)).padding(bottom: 4, top: isMerged ? 4 : 2),
)).padding(bottom: 4, top: 4),
switch (data.type) {
'messages.new' => _ChatMessageText(data: data),
_ => _ChatMessageSystemNotify(data: data),