This is an automated email from the ASF dual-hosted git repository.

jeffreyh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new ca6c1e9753f Fixed the issue where the announcementbar displayed a 
white backgroun… (#1544)
ca6c1e9753f is described below

commit ca6c1e9753f79d4e8d2d2211c9529e4525e04f73
Author: yangon <[email protected]>
AuthorDate: Thu Dec 19 11:22:46 2024 +0800

    Fixed the issue where the announcementbar displayed a white backgroun… 
(#1544)
    
    
![image](https://github.com/user-attachments/assets/765b9518-2aa7-4dab-ba07-3f9a30d17ea8)
    
    ---------
    
    Co-authored-by: liyang <[email protected]>
---
 src/theme/AnnouncementBar/CloseButton/index.tsx     | 2 +-
 src/theme/AnnouncementBar/Content/styles.module.css | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/theme/AnnouncementBar/CloseButton/index.tsx 
b/src/theme/AnnouncementBar/CloseButton/index.tsx
index 999bcd56440..e9a2a07d393 100644
--- a/src/theme/AnnouncementBar/CloseButton/index.tsx
+++ b/src/theme/AnnouncementBar/CloseButton/index.tsx
@@ -18,7 +18,7 @@ export default function AnnouncementBarCloseButton(
       })}
       {...props}
       className={clsx('clean-btn close', styles.closeButton, props.className)}>
-      <IconClose width={14} height={14} strokeWidth={3.1} />
+      <IconClose width={14} height={14} strokeWidth={3.1} color={'#ffffff'} />
     </button>
   );
 }
diff --git a/src/theme/AnnouncementBar/Content/styles.module.css 
b/src/theme/AnnouncementBar/Content/styles.module.css
index 16635d4b7dd..25d5eb8dc84 100644
--- a/src/theme/AnnouncementBar/Content/styles.module.css
+++ b/src/theme/AnnouncementBar/Content/styles.module.css
@@ -8,3 +8,7 @@
   color: inherit;
   text-decoration: underline;
 }
+
+.content a:active {
+  background-color: #3C2FD4;
+}
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to