diff --git a/Projects/Feature/OnboardingFeature/Sources/Onboarding/OnboardingView.swift b/Projects/Feature/OnboardingFeature/Sources/Onboarding/OnboardingView.swift index 0bb96f0..ded4f00 100644 --- a/Projects/Feature/OnboardingFeature/Sources/Onboarding/OnboardingView.swift +++ b/Projects/Feature/OnboardingFeature/Sources/Onboarding/OnboardingView.swift @@ -56,7 +56,7 @@ public struct OnboardingView: View { Button(title: "시작하기") { // 다음 뷰 이동 } - .buttonStyle(.box(level: .primary, size: .large, width: .high)) + .buttonStyle(.box(level: .primary, size: .large, width: .medium)) .padding(.top, 16) } Spacer() diff --git a/Projects/Shared/DesignSystem/Sources/Component/Button/Detail/ButtonHuggingPriorityHorizontal.swift b/Projects/Shared/DesignSystem/Sources/Component/Button/Detail/ButtonHuggingPriorityHorizontal.swift index 1c3678e..ce86b5b 100644 --- a/Projects/Shared/DesignSystem/Sources/Component/Button/Detail/ButtonHuggingPriorityHorizontal.swift +++ b/Projects/Shared/DesignSystem/Sources/Component/Button/Detail/ButtonHuggingPriorityHorizontal.swift @@ -10,6 +10,7 @@ import Foundation public enum ButtonHuggingPriorityHorizontal { case high + case medium case low } @@ -17,6 +18,8 @@ extension ButtonHuggingPriorityHorizontal { var width: CGFloat? { switch self { case .high: + return nil + case .medium: return Alias.Size.ButtonWidth.fixed case .low: return .infinity