From ddad4220c9e282d4f34b79e4716bb8f16c7016bf Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Fri, 22 Jan 2021 09:37:28 +0800 Subject: [PATCH] Line truncation This has no effect on Big Sur, but should hopefully fix #2751 in Catalina. --- Mac/Preferences/Accounts/AddAccountsView.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Mac/Preferences/Accounts/AddAccountsView.swift b/Mac/Preferences/Accounts/AddAccountsView.swift index 60cfd25b3..eedc1131c 100644 --- a/Mac/Preferences/Accounts/AddAccountsView.swift +++ b/Mac/Preferences/Accounts/AddAccountsView.swift @@ -170,6 +170,7 @@ struct AddAccountsView: View { Text(AddAccountSections.local.sectionFooter).foregroundColor(.gray) .padding(.horizontal) .lineLimit(3) + .fixedSize(horizontal: false, vertical: true) } @@ -202,6 +203,7 @@ struct AddAccountsView: View { Text(AddAccountSections.icloud.sectionFooter).foregroundColor(.gray) .padding(.horizontal) .lineLimit(3) + .fixedSize(horizontal: false, vertical: true) } } @@ -233,6 +235,7 @@ struct AddAccountsView: View { Text(AddAccountSections.web.sectionFooter).foregroundColor(.gray) .padding(.horizontal) .lineLimit(3) + .fixedSize(horizontal: false, vertical: true) } } @@ -261,6 +264,7 @@ struct AddAccountsView: View { Text(AddAccountSections.selfhosted.sectionFooter).foregroundColor(.gray) .padding(.horizontal) .lineLimit(3) + .fixedSize(horizontal: false, vertical: true) } }