You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by le...@apache.org on 2022/11/24 09:13:00 UTC
[inlong-website] branch master updated: [INLONG-617] Download page font night mode display problem (#618)
This is an automated email from the ASF dual-hosted git repository.
leezng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong-website.git
The following commit(s) were added to refs/heads/master by this push:
new b6d4888e97 [INLONG-617] Download page font night mode display problem (#618)
b6d4888e97 is described below
commit b6d4888e9737384a8e88bc8d9bfe98c55ade7165
Author: Lizhen <88...@users.noreply.github.com>
AuthorDate: Thu Nov 24 17:12:55 2022 +0800
[INLONG-617] Download page font night mode display problem (#618)
---
src/pages/downloads/download.module.less | 44 --------------------------------
src/pages/downloads/index.js | 6 ++---
2 files changed, 3 insertions(+), 47 deletions(-)
diff --git a/src/pages/downloads/download.module.less b/src/pages/downloads/download.module.less
index f35c3ea2e0..051ce792dd 100644
--- a/src/pages/downloads/download.module.less
+++ b/src/pages/downloads/download.module.less
@@ -29,56 +29,15 @@
line-height: 2.4rem;
margin-bottom: 1rem;
font-weight: bold;
- display: block;
- cursor: pointer;
- color: black;
- @media (max-width: 600px) {
- margin-top: 0px;
- font-size: 1.6rem;
- }
- svg {
- transition: all 0.6s;
- }
- &:hover {
- color: inherit;
- text-decoration: none;
- svg {
- transform: rotate(360deg);
- }
- }
}
.description {
font-size: 1.2rem;
- margin-top: 0px;
@media (max-width: 600px) {
margin-top: 6px;
}
}
-.leftSideLinksDiv {
- display: inline-flex;
- font-size: 1rem;
- margin-top: 24px;
- & svg {
- height: 1rem;
- margin-right: 4px;
- }
-}
-
-.leftSideLinksA {
- display: flex;
- align-items: center;
- margin-right: 18px;
- border-radius: 6px;
- cursor: pointer;
- transition: all 0.3s;
- color: inherit;
- &:hover {
- text-decoration: none;
- }
-}
-
.rightSide {
text-align:center;
margin-top: 20px;
@@ -93,9 +52,6 @@
text-align: left;
font-size: 0.9rem;
margin-top: 30px;
- span {
- font-weight: 500;
- }
@media (max-width: 600px) {
margin-bottom: 1rem;
text-align: left;
diff --git a/src/pages/downloads/index.js b/src/pages/downloads/index.js
index 9a7a395036..533519391b 100644
--- a/src/pages/downloads/index.js
+++ b/src/pages/downloads/index.js
@@ -20,7 +20,7 @@ export default function() {
<div className={styles.cardDiv}>
<div className={styles.card}>
<div className={styles.leftSide}>
- <a className={styles.title}>InLong Source Code</a>
+ <div className={styles.title}>InLong Source Code</div>
<div className={styles.description}>Here you can download files to InLong source code</div>
</div>
<div className={styles.rightSide}>
@@ -47,7 +47,7 @@ export default function() {
<div className={styles.card}>
<div className={styles.leftSide}>
- <a className={styles.title}>InLong Binary file</a>
+ <div className={styles.title}>InLong Binary file</div>
<div className={styles.description}>The InLong binary can be downloaded here</div>
</div>
<div className={styles.rightSide}>
@@ -73,7 +73,7 @@ export default function() {
</div>
<div className={styles.card}>
<div className={styles.leftSide}>
- <a className={styles.title}>Connector Binary file</a>
+ <div className={styles.title}>Connector Binary file</div>
<div className={styles.description}>Here you can download files to InLong connector binaries</div>
</div>
<div className={styles.rightSide}>