Skip to content

Commit

Permalink
No issue: Small layout update for Pocket Stories (mozilla-mobile#21752)
Browse files Browse the repository at this point in the history
(cherry picked from commit 23e51c2)

Co-authored-by: Roger Yang <royang@mozilla.com>
  • Loading branch information
mergify[bot] and rocketsroger committed Oct 6, 2021
1 parent 358037c commit 6d32b1c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ fun PocketStory(
imageUrl = imageUrl,
onClick = { onStoryClick(story) },
title = {
TabTitle(text = story.title, maxLines = 3)
TabTitle(text = story.title, maxLines = 2)
},
subtitle = {
if (isValidPublisher && isValidTimeToRead) {
Expand Down Expand Up @@ -168,7 +168,7 @@ fun PocketStoriesCategories(
) {
Box(modifier = modifier) {
StaggeredHorizontalGrid(
horizontalItemsSpacing = 16.dp
horizontalItemsSpacing = 8.dp
) {
categories.filter { it.name != POCKET_STORIES_DEFAULT_CATEGORY_NAME }.forEach { category ->
SelectableChip(category.name, selections.map { it.name }.contains(category.name)) {
Expand Down

0 comments on commit 6d32b1c

Please sign in to comment.