fixed wierd border issues

This commit is contained in:
neon443
2025-07-03 19:32:27 +01:00
parent d5a45d78c4
commit 9dcdd5de41
2 changed files with 20 additions and 22 deletions

View File

@@ -14,7 +14,6 @@ struct AnsiPickerView: View {
ZStack(alignment: .center) { ZStack(alignment: .center) {
RoundedRectangle(cornerRadius: 15) RoundedRectangle(cornerRadius: 15)
.foregroundStyle(hostsManager.selectedTheme.foreground.suiColor.opacity(0.5)) .foregroundStyle(hostsManager.selectedTheme.foreground.suiColor.opacity(0.5))
GeometryReader { geo in
VStack(spacing: 0) { VStack(spacing: 0) {
ForEach(0...1, id: \.self) { row in ForEach(0...1, id: \.self) { row in
HStack(spacing: 0) { HStack(spacing: 0) {
@@ -39,7 +38,6 @@ struct AnsiPickerView: View {
} }
.aspectRatio(4, contentMode: .fit) .aspectRatio(4, contentMode: .fit)
.clipShape(RoundedRectangle(cornerRadius: 10)) .clipShape(RoundedRectangle(cornerRadius: 10))
}
.padding(5) .padding(5)
} }
} }

View File

@@ -46,7 +46,7 @@ struct ThemeManagerView: View {
} }
HStack { HStack {
AnsiPickerView(hostsManager: hostsManager) AnsiPickerView(hostsManager: hostsManager)
.frame(width: 400, height: 100) // .frame(width: 400, height: 100)
Spacer() Spacer()
} }
.padding(.horizontal) .padding(.horizontal)