Skip to content

Commit a48d589

Browse files
authored
Merge pull request #1089 from line-o/minor-patch
Minor improvements
2 parents 9e0fb8f + 7e581c8 commit a48d589

File tree

4 files changed

+16
-15
lines changed

4 files changed

+16
-15
lines changed

Gulpfile.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ const buildStyles = function (done) {
221221
sourceComments: true
222222
}))
223223
.pipe(prefix({
224-
browsers: ['last 2 version', '> 0.25%'],
225224
cascade: true,
226225
remove: true
227226
}))

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,8 @@
5656
"@highlightjs/cdn-assets": "^11.11.1",
5757
"@popperjs/core": "^2.11.8",
5858
"bootstrap": "^5.3.5"
59-
}
59+
},
60+
"browserslist": [
61+
"defaults"
62+
]
6063
}

src/main/frontend/sass/_layout.scss

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
@media (min-width: 767px) {
2-
#header {
3-
background: var(--white) url(../images/header.gif) top right no-repeat;
4-
#logo {
5-
display: block;
6-
width: 12.75rem;
7-
aspect-ratio: 7/3;
8-
background: url(../images/existdb-web.svg) center left no-repeat;
9-
text-indent: -999em;
10-
outline: 0;
11-
}
2+
#logo {
3+
display: block;
4+
width: 12.75rem;
5+
aspect-ratio: 7/3;
6+
background: url(../images/existdb-web.svg) center left no-repeat;
7+
text-indent: -999em;
8+
outline: 0;
129
}
1310
}
1411

src/main/xar-resources/modules/view.xql

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,19 @@ import module namespace app="http://exist-db.org/apps/docs/app" at "app.xql";
1515

1616
declare namespace output="http://www.w3.org/2010/xslt-xquery-serialization";
1717

18-
declare option output:method "html5";
18+
declare option output:method "html";
19+
declare option output:html-version "5.0";
1920
declare option output:media-type "text/html";
21+
declare option output:indent "no";
2022

2123
declare function local:lookup ($functionName as xs:string, $arity as xs:integer) {
2224
function-lookup(xs:QName($functionName), $arity)
2325
};
2426

2527
declare variable $local:templating-configuration := map {
26-
$templates:CONFIG_FILTER_ATTRIBUTES : true(),
27-
$templates:CONFIG_USE_CLASS_SYNTAX : false(),
2828
$templates:CONFIG_APP_ROOT : $config:app-root,
29+
$templates:CONFIG_USE_CLASS_SYNTAX : false(),
30+
$templates:CONFIG_FILTER_ATTRIBUTES : true(),
2931
$templates:CONFIG_STOP_ON_ERROR : true()
3032
};
3133

0 commit comments

Comments
 (0)