Commit 63d42715 authored by Konstantin Tskhovrebov's avatar Konstantin Tskhovrebov 🤖

Merge branch 'fix/preview_file_min_zoom' into 'develop'

Fix preview file min zoom value.

See merge request terrakok/gitlab-client!190
parents 9b8adce7 fb420197
......@@ -7,7 +7,6 @@ object CodeHighlightJsPage {
"<html>\n" +
"<head>\n" +
" <meta charset=\"utf-8\">\n" +
" <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n" +
" <style type=\"text/css\">\n" +
" pre {\n" +
" margin: 0;\n" +
......
......@@ -25,6 +25,7 @@ class CodeHighlightView @JvmOverloads constructor(
settings.apply {
javaScriptEnabled = true
scrollBarStyle = View.SCROLLBARS_INSIDE_OVERLAY
useWideViewPort = true
setSupportZoom(true)
builtInZoomControls = true
displayZoomControls = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment