diff --git a/public/assets/pages/ctrl_viewerpage.css b/public/assets/pages/ctrl_viewerpage.css index 7bb5b71f..03e03315 100644 --- a/public/assets/pages/ctrl_viewerpage.css +++ b/public/assets/pages/ctrl_viewerpage.css @@ -4,4 +4,6 @@ } .component_page_viewerpage > div { width: 100%; + display: flex; + flex-direction: column; } diff --git a/public/assets/pages/viewerpage/application_codemirror.css b/public/assets/pages/viewerpage/application_codemirror.css index 0941d0dc..e7a186c6 100644 --- a/public/assets/pages/viewerpage/application_codemirror.css +++ b/public/assets/pages/viewerpage/application_codemirror.css @@ -1,37 +1,8 @@ -/* latin-ext */ -@font-face { - font-family: "Source Code Pro"; - font-style: normal; - font-weight: 400; - src: local("Source Code Pro"), local("SourceCodePro-Regular"), url(/assets/fonts/SourceCodePro-Regular-400-latin-ext.woff2) format("woff2"); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} - -/* latin */ -@font-face { - font-family: "Source Code Pro"; - font-style: normal; - font-weight: 400; - src: local("Source Code Pro"), local("SourceCodePro-Regular"), url(/assets/fonts/SourceCodePro-Regular-400-latin.woff2) format("woff2"); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} - -/* latin-ext */ -@font-face { - font-family: "Source Code Pro"; - font-style: normal; - font-weight: 600; - src: local("Source Code Pro Semibold"), local("SourceCodePro-Semibold"), url(/assets/fonts/SourceCodePro-Semibold-600-latin-ext.woff2) format("woff2"); - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; -} - -/* latin */ -@font-face { - font-family: "Source Code Pro"; - font-style: normal; - font-weight: 600; - src: local("Source Code Pro Semibold"), local("SourceCodePro-Semibold"), url(/assets/fonts/SourceCodePro-Semibold-600-latin.woff2) format("woff2"); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +.component_editor { + overflow-y: auto; + flex-direction: column; + flex: 1; + width: 100%; } .CodeMirror { @@ -41,5 +12,34 @@ font-size: 16px; font-family: "Source Code Pro", monospace; } - .CodeMirror-scroll { -webkit-overflow-scrolling: touch; } + + +@font-face { + font-family: "Source Code Pro"; + font-style: normal; + font-weight: 400; + src: local("Source Code Pro"), local("SourceCodePro-Regular"), url(/assets/fonts/SourceCodePro-Regular-400-latin-ext.woff2) format("woff2"); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +@font-face { + font-family: "Source Code Pro"; + font-style: normal; + font-weight: 400; + src: local("Source Code Pro"), local("SourceCodePro-Regular"), url(/assets/fonts/SourceCodePro-Regular-400-latin.woff2) format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +@font-face { + font-family: "Source Code Pro"; + font-style: normal; + font-weight: 600; + src: local("Source Code Pro Semibold"), local("SourceCodePro-Semibold"), url(/assets/fonts/SourceCodePro-Semibold-600-latin-ext.woff2) format("woff2"); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +@font-face { + font-family: "Source Code Pro"; + font-style: normal; + font-weight: 600; + src: local("Source Code Pro Semibold"), local("SourceCodePro-Semibold"), url(/assets/fonts/SourceCodePro-Semibold-600-latin.woff2) format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} diff --git a/public/assets/pages/viewerpage/application_downloader.css b/public/assets/pages/viewerpage/application_downloader.css index 2c139e97..d1fd6446 100644 --- a/public/assets/pages/viewerpage/application_downloader.css +++ b/public/assets/pages/viewerpage/application_downloader.css @@ -6,6 +6,7 @@ body.dark-mode .component_filedownloader { } .component_filedownloader { + display: block!important; text-align: center; } diff --git a/public/assets/pages/viewerpage/application_form.css b/public/assets/pages/viewerpage/application_form.css index bf65c338..febbe0d9 100644 --- a/public/assets/pages/viewerpage/application_form.css +++ b/public/assets/pages/viewerpage/application_form.css @@ -3,11 +3,6 @@ body:not(.dark-mode) .component_formviewer { .component_formviewer { background: #525659; - display: flex; - flex-direction: column; - flex: 1; - width: 100%; - color: var(--color); } .component_formviewer > .formviewer_container { padding-top: 20px; diff --git a/public/assets/pages/viewerpage/application_pdf.css b/public/assets/pages/viewerpage/application_pdf.css index 254a1106..ac08a7b4 100644 --- a/public/assets/pages/viewerpage/application_pdf.css +++ b/public/assets/pages/viewerpage/application_pdf.css @@ -1,6 +1,4 @@ .component_page_viewerpage .component_pdfviewer { - display: flex; - flex-direction: column; background: #525659; text-align:center; }