mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-09-15 08:50:57 +00:00
Fix minor ui glitches on older macOS (#695)
* Fix padding on toolbar buttons * Fix sizing on setup view.
This commit is contained in:
parent
4f608ebbc6
commit
726d0580d0
@ -32,7 +32,6 @@ struct IntegrationsView: View {
|
||||
.onAppear {
|
||||
selectedInstruction = instructions.gettingStarted
|
||||
}
|
||||
.frame(minHeight: 500)
|
||||
}
|
||||
|
||||
}
|
||||
@ -62,6 +61,7 @@ struct FauxToolbarModifier<ToolbarContent: View>: ViewModifier {
|
||||
}
|
||||
}
|
||||
|
||||
.frame(minWidth: 400, minHeight: 400)
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -172,10 +172,13 @@ struct StepView<Content: View>: View {
|
||||
.frame(width: 20)
|
||||
VStack(alignment: .leading, spacing: 4) {
|
||||
Text(title)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.bold()
|
||||
Text(description)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
if let detail {
|
||||
Text(detail)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.font(.callout)
|
||||
.italic()
|
||||
}
|
||||
|
@ -39,6 +39,7 @@ struct ToolbarButtonStyle: ButtonStyle {
|
||||
} else {
|
||||
configuration
|
||||
.label
|
||||
.padding(EdgeInsets(top: 6, leading: 8, bottom: 6, trailing: 8))
|
||||
.background(colorScheme == .light ? lightColor : darkColor)
|
||||
.foregroundColor(.white)
|
||||
.clipShape(RoundedRectangle(cornerRadius: 5))
|
||||
|
Loading…
Reference in New Issue
Block a user