Skip to content

Commit 21b93ef

Browse files
dheerajturagaGitOps Bot
authored andcommitted
Fix log text selection contrast in light mode (apache#56216)
* Fix log text selection contrast in light mode Changed selection background from brand.subtle to gray.emphasized to improve readability when highlighting text in the log viewer. This aligns with the DAG code viewer styling and provides better contrast across both light and dark themes. * Brent's suggestions
1 parent 3b28c41 commit 21b93ef

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/TaskLogContent.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,6 @@ export const TaskLogContent = ({ error, isLoading, logError, parsedLogs, wrap }:
114114
<ErrorAlert error={error ?? logError} />
115115
<ProgressBar size="xs" visibility={isLoading ? "visible" : "hidden"} />
116116
<Code
117-
css={{
118-
"& *::selection": {
119-
bg: "brand.subtle",
120-
},
121-
}}
122117
data-testid="virtualized-list"
123118
flexGrow={1}
124119
h="auto"

0 commit comments

Comments
 (0)