File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
feature/detail/src/main/kotlin/com/ninecraft/booket/feature/detail/card/component Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import androidx.compose.ui.Modifier
1717import androidx.compose.ui.layout.ContentScale
1818import androidx.compose.ui.res.painterResource
1919import androidx.compose.ui.text.style.TextOverflow
20+ import androidx.compose.ui.unit.sp
2021import com.ninecraft.booket.core.designsystem.ComponentPreview
2122import com.ninecraft.booket.core.designsystem.EmotionTag
2223import com.ninecraft.booket.core.designsystem.theme.ReedTheme
@@ -60,7 +61,13 @@ internal fun RecordCard(
6061 Text (
6162 text = " 『$bookTitle 』" ,
6263 color = ReedTheme .colors.contentPrimary,
63- style = ReedTheme .typography.quoteMedium,
64+ overflow = TextOverflow .Ellipsis ,
65+ maxLines = 2 ,
66+ style = ReedTheme .typography.quoteMedium.copy(
67+ fontSize = 16 .sp,
68+ lineHeight = 16 .sp * 1.5f ,
69+ letterSpacing = 16 .sp * 0.02f ,
70+ ),
6471 )
6572 }
6673 }
You can’t perform that action at this time.
0 commit comments