diff --git a/apps/student/src/main/java/com/instructure/student/fragment/PageDetailsFragment.kt b/apps/student/src/main/java/com/instructure/student/fragment/PageDetailsFragment.kt
index f9ca978a8f..7d8d074904 100644
--- a/apps/student/src/main/java/com/instructure/student/fragment/PageDetailsFragment.kt
+++ b/apps/student/src/main/java/com/instructure/student/fragment/PageDetailsFragment.kt
@@ -126,12 +126,6 @@ class PageDetailsFragment : InternalWebviewFragment(), Bookmarkable {
}
}
}
-
- val layoutParams = getCanvasWebView()?.layoutParams
- layoutParams?.let {
- it.height = ViewGroup.LayoutParams.WRAP_CONTENT
- getCanvasWebView()?.layoutParams = it
- }
}
override fun onOptionsItemSelected(item: MenuItem): Boolean {
diff --git a/apps/student/src/main/res/layout/fragment_webview.xml b/apps/student/src/main/res/layout/fragment_webview.xml
index 9decf71b26..0dd387ac12 100644
--- a/apps/student/src/main/res/layout/fragment_webview.xml
+++ b/apps/student/src/main/res/layout/fragment_webview.xml
@@ -35,21 +35,12 @@
app:theme="@style/ToolBarStyle"
tools:targetApi="lollipop" />
-
-
-
-
-
+ android:layout_below="@id/toolbar"
+ android:background="@color/backgroundLightest" />
-
-
-
-
-
+ android:layout_marginBottom="8dp" />