diff --git a/Gulpfile.js b/Gulpfile.js index 49a9dc82..94419254 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -221,7 +221,6 @@ const buildStyles = function (done) { sourceComments: true })) .pipe(prefix({ - browsers: ['last 2 version', '> 0.25%'], cascade: true, remove: true })) diff --git a/package.json b/package.json index 1d65f447..3b162476 100644 --- a/package.json +++ b/package.json @@ -56,5 +56,8 @@ "@highlightjs/cdn-assets": "^11.11.1", "@popperjs/core": "^2.11.8", "bootstrap": "^5.3.5" - } + }, + "browserslist": [ + "defaults" + ] } diff --git a/src/main/frontend/sass/_layout.scss b/src/main/frontend/sass/_layout.scss index 03b8a90f..de0924f1 100644 --- a/src/main/frontend/sass/_layout.scss +++ b/src/main/frontend/sass/_layout.scss @@ -1,14 +1,11 @@ @media (min-width: 767px) { - #header { - background: var(--white) url(../images/header.gif) top right no-repeat; - #logo { - display: block; - width: 12.75rem; - aspect-ratio: 7/3; - background: url(../images/existdb-web.svg) center left no-repeat; - text-indent: -999em; - outline: 0; - } + #logo { + display: block; + width: 12.75rem; + aspect-ratio: 7/3; + background: url(../images/existdb-web.svg) center left no-repeat; + text-indent: -999em; + outline: 0; } } diff --git a/src/main/xar-resources/modules/view.xql b/src/main/xar-resources/modules/view.xql index 7830daec..5314c9ee 100755 --- a/src/main/xar-resources/modules/view.xql +++ b/src/main/xar-resources/modules/view.xql @@ -15,17 +15,19 @@ import module namespace app="http://exist-db.org/apps/docs/app" at "app.xql"; declare namespace output="http://www.w3.org/2010/xslt-xquery-serialization"; -declare option output:method "html5"; +declare option output:method "html"; +declare option output:html-version "5.0"; declare option output:media-type "text/html"; +declare option output:indent "no"; declare function local:lookup ($functionName as xs:string, $arity as xs:integer) { function-lookup(xs:QName($functionName), $arity) }; declare variable $local:templating-configuration := map { - $templates:CONFIG_FILTER_ATTRIBUTES : true(), - $templates:CONFIG_USE_CLASS_SYNTAX : false(), $templates:CONFIG_APP_ROOT : $config:app-root, + $templates:CONFIG_USE_CLASS_SYNTAX : false(), + $templates:CONFIG_FILTER_ATTRIBUTES : true(), $templates:CONFIG_STOP_ON_ERROR : true() };