You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by lu...@apache.org on 2024/01/04 10:55:41 UTC
(doris-website) branch master updated: (fix) fix styles (#383)
This is an automated email from the ASF dual-hosted git repository.
luzhijing 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 a83a7441fa4 (fix) fix styles (#383)
a83a7441fa4 is described below
commit a83a7441fa4fb0bc85bbb6885059a4901f2879ce
Author: hututu <53...@users.noreply.github.com>
AuthorDate: Thu Jan 4 18:55:35 2024 +0800
(fix) fix styles (#383)
---
src/pages/index.tsx | 4 ++--
src/theme/BlogLayout/index.tsx | 2 +-
src/theme/BlogLayout/style.scss | 4 +---
src/theme/SearchBar/SearchBar.module.css | 2 +-
4 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 72ef1e0b0dc..08dcdb3e91f 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -443,7 +443,7 @@ export default function Home(): JSX.Element {
</div>
))}
</div>
- <h3 className="leading-[38px] text-2xl font-medium line-clamp-1 ">
+ <h3 className="leading-[38px] text-2xl font-semibold line-clamp-1 ">
{newsletter.title}
</h3>
<p className="pt-3 line-clamp-2 text-lg leading-8">{newsletter.content}</p>
@@ -511,7 +511,7 @@ export default function Home(): JSX.Element {
</Translate>
}
footer={
- <div className="justify-center flex mt-9">
+ <div className="justify-center flex mt-14">
<LinkWithArrow
to="/docs/get-starting/what-is-apache-doris"
text={
diff --git a/src/theme/BlogLayout/index.tsx b/src/theme/BlogLayout/index.tsx
index 7fe0e4329bd..567bc286eef 100644
--- a/src/theme/BlogLayout/index.tsx
+++ b/src/theme/BlogLayout/index.tsx
@@ -25,7 +25,7 @@ export default function BlogLayout(props) {
>
{children}
</main>
- {toc && <div className="col col--2">{toc}</div>}
+ {toc && <div className="col col--2 ml-[10.25rem]">{toc}</div>}
</div>
</div>
</Layout>
diff --git a/src/theme/BlogLayout/style.scss b/src/theme/BlogLayout/style.scss
index c5b637577ab..f7927769104 100644
--- a/src/theme/BlogLayout/style.scss
+++ b/src/theme/BlogLayout/style.scss
@@ -4,7 +4,5 @@
}
}
-
@media (max-width: 996px) {
-
-}
\ No newline at end of file
+}
diff --git a/src/theme/SearchBar/SearchBar.module.css b/src/theme/SearchBar/SearchBar.module.css
index dfaf47d6e76..35e949fc609 100644
--- a/src/theme/SearchBar/SearchBar.module.css
+++ b/src/theme/SearchBar/SearchBar.module.css
@@ -187,7 +187,7 @@ html[data-theme='dark'] .noResultsIcon {
display: none;
position: absolute;
left: 10px;
- top: 6px;
+ top: 10px;
}
.searchBarContainer .searchClearButton {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org