라이브 방

- 스피커 수가 증가함에 따라 UI가 화면에서 넘치던 버그 수정
This commit is contained in:
Yu Sung
2024-09-24 21:54:47 +09:00
parent 9c051ff1e0
commit e34a172779
4 changed files with 64 additions and 84 deletions

View File

@@ -67,6 +67,7 @@ struct LiveRoomInfoCreatorView: View {
Text(creatorNickname)
.font(.custom(Font.medium.rawValue, size: 12))
.foregroundColor(.gray77)
.lineLimit(1)
if isShowFollowingButton {
Image(isFollowing ? "btn_following" : "btn_follow")
@@ -75,8 +76,8 @@ struct LiveRoomInfoCreatorView: View {
}
}
}
.padding(.vertical, 8)
.padding(.horizontal, 5.3)
.padding(8)
.frame(width: screenSize().width / 2.5, alignment: .leading)
.overlay(
RoundedRectangle(cornerRadius: 5.3)
.stroke(Color.graybb, lineWidth: 1)
@@ -87,7 +88,7 @@ struct LiveRoomInfoCreatorView: View {
struct LiveRoomInfoCreatorView_Previews: PreviewProvider {
static var previews: some View {
LiveRoomInfoCreatorView(
roomTitle: "오늘 라이브방송은 OOO 입니다.",
roomTitle: "qwer",
creatorNickname: "도화",
creatorProfileUrl: "https://cf.sodalive.net/profile/26/26-profile-ddf78b4d-0300-4c50-9c84-5d8a95fd5fe2-4892-1705256364320",
isMute: false,