Removed yellow lines under the suggestion title and item text

This commit is contained in:
Martino Yovo 2023-05-27 18:07:25 +00:00
parent c2be9688db
commit 6ad95e23e0

View File

@ -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: DefaultTextStyle(
style: $styles.text.title2.copyWith(color: $styles.colors.black),
child: Text( child: Text(
$strings.searchInputTitleSuggestions.toUpperCase(), $strings.searchInputTitleSuggestions.toUpperCase(),
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
textHeightBehavior: TextHeightBehavior(applyHeightToFirstAscent: false), textHeightBehavior: TextHeightBehavior(applyHeightToFirstAscent: false),
style: $styles.text.title2.copyWith(color: $styles.colors.black), ),
), ),
), ),
); );
@ -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: DefaultTextStyle(
style: $styles.text.bodySmall.copyWith(color: $styles.colors.greyStrong),
child: Text( child: Text(
suggestion, suggestion,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
textHeightBehavior: TextHeightBehavior(applyHeightToFirstAscent: false), textHeightBehavior: TextHeightBehavior(applyHeightToFirstAscent: false),
style: $styles.text.bodySmall.copyWith(color: $styles.colors.greyStrong), ),
), ),
), ),
), ),