diff --git a/Yep/ViewControllers/Profile/ProfileViewController.swift b/Yep/ViewControllers/Profile/ProfileViewController.swift index 73f883b8..b8067970 100644 --- a/Yep/ViewControllers/Profile/ProfileViewController.swift +++ b/Yep/ViewControllers/Profile/ProfileViewController.swift @@ -488,7 +488,7 @@ class ProfileViewController: SegueViewController { let attributes = [NSFontAttributeName: YepConfig.Profile.introductionLabelFont] let labelWidth = self.collectionViewWidth - (YepConfig.Profile.leftEdgeInset + YepConfig.Profile.rightEdgeInset) let rect = self.introductionText.boundingRectWithSize(CGSize(width: labelWidth, height: CGFloat(FLT_MAX)), options: [.UsesLineFragmentOrigin, .UsesFontLeading], attributes:attributes, context:nil) - return 10 + 20 + 10 + 20 + 10 + ceil(rect.height) + 4 + return 10 + 24 + 10 + 18 + 10 + ceil(rect.height) + 4 } private var customNavigationItem: UINavigationItem = UINavigationItem(title: "Details") diff --git a/Yep/Views/Cells/ProfileFooter/ProfileFooterCell.xib b/Yep/Views/Cells/ProfileFooter/ProfileFooterCell.xib index 2925453f..0c9e4eb3 100644 --- a/Yep/Views/Cells/ProfileFooter/ProfileFooterCell.xib +++ b/Yep/Views/Cells/ProfileFooter/ProfileFooterCell.xib @@ -14,21 +14,21 @@