Skip to content

Commit 3932097

Browse files
committed
[BOOK-212] chore: 도서 상세 화면 읽기 상태 버튼, 도서 기록 추가 버튼간 길이 관계 수정
1 parent 74ae883 commit 3932097

File tree

1 file changed

+3
-2
lines changed
  • feature/detail/src/main/kotlin/com/ninecraft/booket/feature/detail/book

1 file changed

+3
-2
lines changed

feature/detail/src/main/kotlin/com/ninecraft/booket/feature/detail/book/BookDetailUi.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import androidx.compose.foundation.layout.height
99
import androidx.compose.foundation.layout.padding
1010
import androidx.compose.foundation.layout.size
1111
import androidx.compose.foundation.layout.width
12+
import androidx.compose.foundation.layout.widthIn
1213
import androidx.compose.foundation.rememberScrollState
1314
import androidx.compose.foundation.shape.RoundedCornerShape
1415
import androidx.compose.foundation.verticalScroll
@@ -204,7 +205,7 @@ internal fun BookDetailContent(
204205
text = "읽는 중",
205206
sizeStyle = largeButtonStyle,
206207
colorStyle = ReedButtonColorStyle.SECONDARY,
207-
modifier = Modifier.weight(1f),
208+
modifier = Modifier.widthIn(min = 98.dp),
208209
trailingIcon = {
209210
Icon(
210211
imageVector = ImageVector.vectorResource(designR.drawable.ic_chevron_down),
@@ -222,7 +223,7 @@ internal fun BookDetailContent(
222223
text = "독서 기록 추가",
223224
sizeStyle = largeButtonStyle,
224225
colorStyle = ReedButtonColorStyle.PRIMARY,
225-
modifier = Modifier.weight(2.34f),
226+
modifier = Modifier.weight(1f),
226227
)
227228
}
228229

0 commit comments

Comments
 (0)