Skip to content

Commit 7f1aff9

Browse files
authored
Merge pull request #244 from kmiller68/nonStandard-error-rotate-back-to-red
Errors with Non-Standard Query Params Should Be Red
2 parents 515ab50 + 4a84bf4 commit 7f1aff9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

resources/JetStream.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
--benchmark-done-result-color: #4A4A4A;
4242
--gap: 3rem;
4343
--width: 200px;
44+
--nonDefaultRotate: 152deg;
4445
}
4546

4647
html,
@@ -73,7 +74,12 @@ table {
7374
}
7475

7576
body.nonDefaultParams {
76-
filter: hue-rotate(152deg);
77+
filter: hue-rotate(var(--nonDefaultRotate));
78+
}
79+
80+
/* error gets rotated too, rotate it back so it's still red */
81+
.nonDefaultParams .error {
82+
filter: hue-rotate(calc(360deg - var(--nonDefaultRotate)));
7783
}
7884

7985
.nonDefaultParams .summary {

0 commit comments

Comments
 (0)