fix: 메인 홈 - 이벤트 배너, 오디션 배너 사이즈 수정
- 이벤트 배너: 좌우 마진 제거 - 오디션 배너: 좌우 마진 제거, 352x120 비율로 변경
This commit is contained in:
@@ -27,8 +27,8 @@ struct HomeAuditionView: View {
|
|||||||
.resizable()
|
.resizable()
|
||||||
.scaledToFill()
|
.scaledToFill()
|
||||||
.frame(
|
.frame(
|
||||||
width: screenSize().width - 48,
|
width: screenSize().width,
|
||||||
height: (screenSize().width - 48) * 530 / 1000,
|
height: screenSize().width * 120 / 352,
|
||||||
alignment: .center
|
alignment: .center
|
||||||
)
|
)
|
||||||
.tag(index)
|
.tag(index)
|
||||||
@@ -45,8 +45,8 @@ struct HomeAuditionView: View {
|
|||||||
.resizable()
|
.resizable()
|
||||||
.scaledToFill()
|
.scaledToFill()
|
||||||
.frame(
|
.frame(
|
||||||
width: screenSize().width - 48,
|
width: screenSize().width,
|
||||||
height: (screenSize().width - 48) * 530 / 1000,
|
height: screenSize().width * 120 / 352,
|
||||||
alignment: .center
|
alignment: .center
|
||||||
)
|
)
|
||||||
.tag(index)
|
.tag(index)
|
||||||
@@ -63,7 +63,7 @@ struct HomeAuditionView: View {
|
|||||||
.tabViewStyle(PageTabViewStyle(indexDisplayMode: .never))
|
.tabViewStyle(PageTabViewStyle(indexDisplayMode: .never))
|
||||||
.frame(
|
.frame(
|
||||||
width: screenSize().width,
|
width: screenSize().width,
|
||||||
height: screenSize().width * 530 / 1000,
|
height: screenSize().width * 120 / 352,
|
||||||
alignment: .center
|
alignment: .center
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ struct SectionEventBannerView: View {
|
|||||||
.resizable()
|
.resizable()
|
||||||
.scaledToFill()
|
.scaledToFill()
|
||||||
.frame(
|
.frame(
|
||||||
width: screenSize().width - 48,
|
width: screenSize().width,
|
||||||
height: (screenSize().width - 48) * 300 / 1000,
|
height: screenSize().width * 300 / 1000,
|
||||||
alignment: .center
|
alignment: .center
|
||||||
)
|
)
|
||||||
.tag(index)
|
.tag(index)
|
||||||
@@ -49,8 +49,8 @@ struct SectionEventBannerView: View {
|
|||||||
.resizable()
|
.resizable()
|
||||||
.scaledToFill()
|
.scaledToFill()
|
||||||
.frame(
|
.frame(
|
||||||
width: screenSize().width - 48,
|
width: screenSize().width,
|
||||||
height: (screenSize().width - 48) * 300 / 1000,
|
height: screenSize().width * 300 / 1000,
|
||||||
alignment: .center
|
alignment: .center
|
||||||
)
|
)
|
||||||
.tag(index)
|
.tag(index)
|
||||||
|
|||||||
Reference in New Issue
Block a user