fix: shrink lemma SVG in work zoom card (#1559)
This commit is contained in:
parent
1d8e68a147
commit
723e28a314
2 changed files with 8 additions and 6 deletions
|
|
@ -1,13 +1,14 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:matrix/matrix.dart';
|
||||
import 'package:swipe_to_action/swipe_to_action.dart';
|
||||
|
||||
import 'package:fluffychat/config/themes.dart';
|
||||
import 'package:fluffychat/pages/chat/chat.dart';
|
||||
import 'package:fluffychat/pages/chat/events/message_content.dart';
|
||||
import 'package:fluffychat/pangea/events/event_wrappers/pangea_message_event.dart';
|
||||
import 'package:fluffychat/utils/date_time_extension.dart';
|
||||
import 'package:fluffychat/widgets/matrix.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:matrix/matrix.dart';
|
||||
import 'package:swipe_to_action/swipe_to_action.dart';
|
||||
|
||||
import '../../../config/app_config.dart';
|
||||
|
||||
class ActivityPlanMessage extends StatelessWidget {
|
||||
|
|
|
|||
|
|
@ -17,12 +17,13 @@ class LemmaWidget extends StatelessWidget {
|
|||
return Padding(
|
||||
padding: const EdgeInsets.all(4.0),
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
Text(token.lemma.text),
|
||||
const SizedBox(width: 6),
|
||||
SizedBox(
|
||||
width: 30,
|
||||
height: 30,
|
||||
width: 20,
|
||||
height: 20,
|
||||
child: CustomizedSvg(
|
||||
svgUrl: token.lemmaXPCategory.svgURL,
|
||||
colorReplacements: const {},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue