Skip to content

Commit

Permalink
Improve: Improved the song bar UI by ensuring consistent padding for …
Browse files Browse the repository at this point in the history
…both the song title and artist text
  • Loading branch information
gokadzev committed Jan 24, 2024
1 parent e35eda1 commit bbd19ba
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions lib/widgets/song_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,16 @@ class SongBar extends StatelessWidget {
),
),
const SizedBox(height: 5),
Text(
song['artist'].toString(),
overflow: TextOverflow.ellipsis,
style: TextStyle(
color: Theme.of(context).hintColor,
fontWeight: FontWeight.w400,
fontSize: 14,
Padding(
padding: const EdgeInsets.only(left: 5),
child: Text(
song['artist'].toString(),
overflow: TextOverflow.ellipsis,
style: TextStyle(
color: Theme.of(context).hintColor,
fontWeight: FontWeight.w400,
fontSize: 14,
),
),
),
],
Expand Down

0 comments on commit bbd19ba

Please sign in to comment.