mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Also set the color of the iframe's font (#1934)
(remove prettier:check from npm test, as the output is not helpful at all - whereas xo's output will tell the user what prettier is complaining about) Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@
|
||||
"prettier:fix": "prettier --write \"style/*.css\" \"style/themes/*.css\" \"scripts/pi-hole/**/*.js\"",
|
||||
"xo": "xo",
|
||||
"xo:fix": "npm run xo -- --fix",
|
||||
"test": "npm run prettier:check && npm run xo"
|
||||
"test": "npm run xo"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.3.7",
|
||||
|
||||
@@ -31,6 +31,7 @@ $(function () {
|
||||
var font = {
|
||||
"font-family": $("pre").css("font-family"),
|
||||
"font-size": $("pre").css("font-size"),
|
||||
color: $("pre").css("color"),
|
||||
};
|
||||
var contents = $(this).contents();
|
||||
contents.find("body").css(font);
|
||||
|
||||
Reference in New Issue
Block a user