parkhojeong commented on code in PR #66149:
URL: https://github.com/apache/airflow/pull/66149#discussion_r3174794118


##########
airflow-core/src/airflow/ui/src/pages/TaskInstance/RenderedTemplates.tsx:
##########
@@ -62,6 +62,7 @@ const RenderedTemplatesContent = () => {
                       <Box as="pre" borderRadius="md" fontSize="sm" m={0} 
overflowX="auto" p={2}>
                         <SyntaxHighlighter
                           language={language}
+                          lineNumberStyle={{ userSelect: "none" }}

Review Comment:
   ```suggestion
                             lineProps={{ style: { display: "block" } }}
   ```
   
   i run this code but the bug still seems unfixed
   
   
https://github.com/user-attachments/assets/bf484135-2293-4d5b-a934-96e7283b674d
   
   
   i found root cause and solve 
it(https://github.com/apache/airflow/pull/66221). 



##########
airflow-core/src/airflow/ui/src/pages/TaskInstance/RenderedTemplates.tsx:
##########
@@ -62,6 +62,7 @@ const RenderedTemplatesContent = () => {
                       <Box as="pre" borderRadius="md" fontSize="sm" m={0} 
overflowX="auto" p={2}>
                         <SyntaxHighlighter
                           language={language}
+                          lineNumberStyle={{ userSelect: "none" }}

Review Comment:
   i run this code but the bug still seems unfixed
   
   
https://github.com/user-attachments/assets/bf484135-2293-4d5b-a934-96e7283b674d
   
   
   i found root cause and solve 
it(https://github.com/apache/airflow/pull/66221). 
   `lineProps={{ style: { display: "block" } }}` solves the bug
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to