Removed yellow lines under the suggestion title and item text
This commit is contained in:
parent
c2be9688db
commit
6ad95e23e0
@ -83,11 +83,13 @@ class _SearchInput extends StatelessWidget {
|
|||||||
margin: EdgeInsets.only(bottom: $styles.insets.xxs),
|
margin: EdgeInsets.only(bottom: $styles.insets.xxs),
|
||||||
decoration: BoxDecoration(border: Border(bottom: BorderSide(color: $styles.colors.greyStrong.withOpacity(0.1)))),
|
decoration: BoxDecoration(border: Border(bottom: BorderSide(color: $styles.colors.greyStrong.withOpacity(0.1)))),
|
||||||
child: CenterLeft(
|
child: CenterLeft(
|
||||||
child: Text(
|
child: DefaultTextStyle(
|
||||||
$strings.searchInputTitleSuggestions.toUpperCase(),
|
|
||||||
overflow: TextOverflow.ellipsis,
|
|
||||||
textHeightBehavior: TextHeightBehavior(applyHeightToFirstAscent: false),
|
|
||||||
style: $styles.text.title2.copyWith(color: $styles.colors.black),
|
style: $styles.text.title2.copyWith(color: $styles.colors.black),
|
||||||
|
child: Text(
|
||||||
|
$strings.searchInputTitleSuggestions.toUpperCase(),
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
|
textHeightBehavior: TextHeightBehavior(applyHeightToFirstAscent: false),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
@ -100,11 +102,13 @@ class _SearchInput extends StatelessWidget {
|
|||||||
child: Padding(
|
child: Padding(
|
||||||
padding: EdgeInsets.all($styles.insets.xs),
|
padding: EdgeInsets.all($styles.insets.xs),
|
||||||
child: CenterLeft(
|
child: CenterLeft(
|
||||||
child: Text(
|
child: DefaultTextStyle(
|
||||||
suggestion,
|
|
||||||
overflow: TextOverflow.ellipsis,
|
|
||||||
textHeightBehavior: TextHeightBehavior(applyHeightToFirstAscent: false),
|
|
||||||
style: $styles.text.bodySmall.copyWith(color: $styles.colors.greyStrong),
|
style: $styles.text.bodySmall.copyWith(color: $styles.colors.greyStrong),
|
||||||
|
child: Text(
|
||||||
|
suggestion,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
|
textHeightBehavior: TextHeightBehavior(applyHeightToFirstAscent: false),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user