prevent overflow
This commit is contained in:
@@ -60,7 +60,8 @@ struct AdditionalModifiersView: View {
|
||||
#if DEBUG
|
||||
setupCard(
|
||||
presentation: .card,
|
||||
content: EnforceModeSetupContent(
|
||||
content:
|
||||
EnforceModeSetupContent(
|
||||
settingsManager: settingsManager,
|
||||
presentation: .card,
|
||||
isTestModeActive: $isTestModeActive,
|
||||
@@ -243,8 +244,10 @@ struct AdditionalModifiersView: View {
|
||||
.fill(Color(NSColor.windowBackgroundColor))
|
||||
.shadow(color: Color.black.opacity(0.2), radius: 10, x: 0, y: 4)
|
||||
|
||||
ScrollView {
|
||||
content
|
||||
.padding(isCompact ? 12 : 20)
|
||||
}
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .center)
|
||||
}
|
||||
.frame(width: width, height: height)
|
||||
|
||||
Reference in New Issue
Block a user