diff --git a/Source/HTMLBlockViewController.swift b/Source/HTMLBlockViewController.swift
index 2b42f792d..251ce9a7f 100644
--- a/Source/HTMLBlockViewController.swift
+++ b/Source/HTMLBlockViewController.swift
@@ -22,7 +22,7 @@ class HTMLBlockViewController: UIViewController, CourseBlockViewController, Prel
private let environment: Environment
private let subkind: CourseHTMLBlockSubkind
- private lazy var courseDateBannerView = CourseDateBannerView(frame: .zero)
+ private lazy var courseDateBannerView = NewCourseDateBannerView(frame: .zero)
private let webController: AuthenticatedWebViewController
private let loader = BackedStream()
@@ -163,7 +163,7 @@ class HTMLBlockViewController: UIViewController, CourseBlockViewController, Prel
courseDateBannerView.bannerInfo = bannerModel.bannerInfo
courseDateBannerView.setupView()
trackDateBannerAppearanceEvent(bannerModel: bannerModel)
- height = courseDateBannerView.heightForView(width: view.frame.size.width)
+ height = StandardVerticalMargin * 16
}
}