diff --git a/Extensions/View+Borders.swift b/Extensions/View+Borders.swift index f0cf155c..1bc622f3 100644 --- a/Extensions/View+Borders.swift +++ b/Extensions/View+Borders.swift @@ -20,7 +20,7 @@ extension View { private func verticalEdgeBorder(_ edge: Alignment, height: Double, color: Color) -> some View { overlay(Rectangle().frame(width: nil, height: height, alignment: .top) - .foregroundColor(color), alignment: edge) + .foregroundColor(color).ignoresSafeArea(.all, edges: .horizontal), alignment: edge) } private func horizontalEdgeBorder(_ edge: Alignment, width: Double, color: Color) -> some View {