mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-12 23:05:46 +01:00
Format generated stylesheets a bit more nicely.
This commit is contained in:
@@ -74,9 +74,9 @@ update(Sheet.prototype, {
|
|||||||
/[\/:]/.test(part) ? "url"
|
/[\/:]/.test(part) ? "url"
|
||||||
: "domain")
|
: "domain")
|
||||||
+ '("' + part.replace(/"/g, "%22").replace(/\*$/, "") + '")')
|
+ '("' + part.replace(/"/g, "%22").replace(/\*$/, "") + '")')
|
||||||
.join(", ");
|
.join(",\n ");
|
||||||
return "/* " + this.uri + (this.agent ? " (agent)" : "") + " */\n"
|
return "/* " + this.uri + (this.agent ? " (agent)" : "") + " */\n\n"
|
||||||
+ namespace + " @-moz-document " + selectors + "{\n" + css + "\n}\n";
|
+ namespace + "\n@-moz-document " + selectors + " {\n\n" + css + "\n\n}\n";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user