Skip to content

Commit 2645d93

Browse files
committed
text-bright for the Scope filters
1 parent e544188 commit 2645d93

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

apps/webapp/app/components/query/QueryEditor.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ const QueryEditorForm = forwardRef<
329329
defaultPeriod={defaultPeriod}
330330
labelName="Triggered"
331331
hideLabel
332+
valueClassName="text-text-bright"
332333
period={period}
333334
from={from}
334335
to={to}
@@ -1095,17 +1096,17 @@ function ScopeItem({ scope }: { scope: QueryScope }) {
10951096

10961097
switch (scope) {
10971098
case "organization":
1098-
return `Org: ${organization.title}`;
1099+
return <span className="text-text-bright">{`Org: ${organization.title}`}</span>;
10991100
case "project":
1100-
return `Project: ${project.name}`;
1101+
return <span className="text-text-bright">{`Project: ${project.name}`}</span>;
11011102
case "environment":
11021103
return (
1103-
<>
1104+
<span className="text-text-bright">
11041105
Env: <EnvironmentLabel environment={environment} />
1105-
</>
1106+
</span>
11061107
);
11071108
default:
1108-
return scope;
1109+
return <span className="text-text-bright">{scope}</span>;
11091110
}
11101111
}
11111112

0 commit comments

Comments
 (0)