chore: fix text overflow in morph meaning popup (#2643)
This commit is contained in:
parent
8febe1e2bb
commit
b2a0435380
2 changed files with 11 additions and 10 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import 'dart:convert';
|
||||
import 'dart:developer';
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
|
||||
|
|
@ -95,7 +94,6 @@ class MorphInfoRepo {
|
|||
LanguageKeys.defaultLanguage,
|
||||
),
|
||||
);
|
||||
debugger(when: kDebugMode);
|
||||
final morph = res.getFeatureByCode(feature.name);
|
||||
|
||||
final data = morph?.getTagByCode(tag);
|
||||
|
|
|
|||
|
|
@ -260,14 +260,17 @@ class MorphMeaningPopupState extends State<MorphMeaningPopup> {
|
|||
morphTag: _morphTag,
|
||||
),
|
||||
),
|
||||
Text(
|
||||
getGrammarCopy(
|
||||
category: _morphFeature.name,
|
||||
lemma: _morphTag,
|
||||
context: context,
|
||||
) ??
|
||||
_morphTag,
|
||||
style: Theme.of(context).textTheme.titleMedium,
|
||||
Flexible(
|
||||
child: Text(
|
||||
textAlign: TextAlign.center,
|
||||
getGrammarCopy(
|
||||
category: _morphFeature.name,
|
||||
lemma: _morphTag,
|
||||
context: context,
|
||||
) ??
|
||||
_morphTag,
|
||||
style: Theme.of(context).textTheme.titleMedium,
|
||||
),
|
||||
),
|
||||
if (MatrixState.pangeaController.getAnalytics
|
||||
.constructListModel
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue