From 5f5d0632e28a81e67ada92eeb3bc76a3b24e0b8b Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Sun, 6 Dec 2020 09:50:00 +0800 Subject: [PATCH 1/2] fixes #2637 --- Mac/Preferences/Accounts/AddAccountsView.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Mac/Preferences/Accounts/AddAccountsView.swift b/Mac/Preferences/Accounts/AddAccountsView.swift index 63f33c291..b5bb3f6ae 100644 --- a/Mac/Preferences/Accounts/AddAccountsView.swift +++ b/Mac/Preferences/Accounts/AddAccountsView.swift @@ -164,7 +164,6 @@ struct AddAccountsView: View { .offset(x: 7.5, y: 0) Text(AddAccountSections.local.sectionFooter).foregroundColor(.gray) - .font(.caption) .padding(.horizontal) } @@ -196,7 +195,6 @@ struct AddAccountsView: View { .disabled(isCloudInUse()) Text(AddAccountSections.icloud.sectionFooter).foregroundColor(.gray) - .font(.caption) .padding(.horizontal) } } @@ -227,7 +225,6 @@ struct AddAccountsView: View { .offset(x: 7.5, y: 0) Text(AddAccountSections.web.sectionFooter).foregroundColor(.gray) - .font(.caption) .padding(.horizontal) } } @@ -255,7 +252,6 @@ struct AddAccountsView: View { .offset(x: 7.5, y: 0) Text(AddAccountSections.selfhosted.sectionFooter).foregroundColor(.gray) - .font(.caption) .padding(.horizontal) } } From 4bc6fcc35bde2da22b59395d3930971d73203a5d Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Sun, 6 Dec 2020 09:56:02 +0800 Subject: [PATCH 2/2] Adds line limit --- 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 b5bb3f6ae..00c958c72 100644 --- a/Mac/Preferences/Accounts/AddAccountsView.swift +++ b/Mac/Preferences/Accounts/AddAccountsView.swift @@ -165,6 +165,7 @@ struct AddAccountsView: View { Text(AddAccountSections.local.sectionFooter).foregroundColor(.gray) .padding(.horizontal) + .lineLimit(3) } @@ -196,6 +197,7 @@ struct AddAccountsView: View { Text(AddAccountSections.icloud.sectionFooter).foregroundColor(.gray) .padding(.horizontal) + .lineLimit(3) } } @@ -226,6 +228,7 @@ struct AddAccountsView: View { Text(AddAccountSections.web.sectionFooter).foregroundColor(.gray) .padding(.horizontal) + .lineLimit(3) } } @@ -253,6 +256,7 @@ struct AddAccountsView: View { Text(AddAccountSections.selfhosted.sectionFooter).foregroundColor(.gray) .padding(.horizontal) + .lineLimit(3) } }