Improve webview presentation and add scroll bar visibility

This commit is contained in:
Shinokuni 2019-02-15 12:47:22 +00:00
parent 2cc0d27660
commit 7dcdcb68fb
2 changed files with 13 additions and 0 deletions

View File

@ -60,6 +60,7 @@
<android.support.v4.widget.NestedScrollView <android.support.v4.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:scrollbars="vertical|horizontal"
app:layout_behavior="@string/appbar_scrolling_view_behavior"> app:layout_behavior="@string/appbar_scrolling_view_behavior">
<RelativeLayout <RelativeLayout

View File

@ -19,6 +19,10 @@
margin-top: 10px; margin-top: 10px;
} }
iframe {
margin-top: 10px;
}
body { body {
margin: 0px; margin: 0px;
} }
@ -27,6 +31,14 @@
margin-top: 0px; margin-top: 0px;
} }
body, blockquote, img, iframe, video, div, table, tbody, tr, td, pre, code, blockquote, p, em, b, span {
max-width: 100%% !important;
}
* {
word-wrap: break-word !important;
}
</style> </style>
</head> </head>