Skip to content

Commit 7ebfd45

Browse files
committed
[BOOK-273] fix: 기록 카드 도서 제목 디테일 수정
1 parent 65a0aed commit 7ebfd45

File tree

1 file changed

+8
-1
lines changed
  • feature/detail/src/main/kotlin/com/ninecraft/booket/feature/detail/card/component

1 file changed

+8
-1
lines changed

feature/detail/src/main/kotlin/com/ninecraft/booket/feature/detail/card/component/RecordCard.kt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import androidx.compose.ui.Modifier
1717
import androidx.compose.ui.layout.ContentScale
1818
import androidx.compose.ui.res.painterResource
1919
import androidx.compose.ui.text.style.TextOverflow
20+
import androidx.compose.ui.unit.sp
2021
import com.ninecraft.booket.core.designsystem.ComponentPreview
2122
import com.ninecraft.booket.core.designsystem.EmotionTag
2223
import 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
}

0 commit comments

Comments
 (0)