No issue: Small layout update for Pocket Stories (#21752)

(cherry picked from commit 23e51c250a)

Co-authored-by: Roger Yang <royang@mozilla.com>
pull/415/head
mergify[bot] 3 years ago committed by GitHub
parent 358037ceb9
commit 6d32b1c324
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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) {
@ -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)) {

Loading…
Cancel
Save