Skip to content

Commit

Permalink
fix:log 居中 (#477)
Browse files Browse the repository at this point in the history
* fix手机端菜单

* Update index.astro

* 星空效果兼容

* Update HomeIntroduce.astro

* Update index.astro

* Update UseCompanies.astro
  • Loading branch information
abuexclusive authored Jan 16, 2024
1 parent 6e1da10 commit c4dfa25
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/components/common/Header/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ let height, width, xpadding = "";
}

handleScroll = () => {
if (window.innerWidth <= 800) return;
if (window.scrollY >= 100 && !this.ifscroll) {
this.ifscroll = true;
this.classList.add('bg-gray-14/[0.84]');
Expand Down Expand Up @@ -145,8 +146,8 @@ let height, width, xpadding = "";
display: none;
}
.code-toggle {
padding: 0;
background-color: transparent;
padding: 0 !important;
background-color: transparent !important;
span {
display: none;
}
Expand Down
4 changes: 3 additions & 1 deletion src/components/home/UseCompanies.astro
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ const companiesLogos = companiesLogosTop.concat(companiesLogosBottom);
.mobile-bottom-card {
display: flex !important;
flex-wrap: wrap;
margin: 0 -8px;
/* justify-content: space-between; */
}

Expand All @@ -261,10 +262,11 @@ const companiesLogos = companiesLogosTop.concat(companiesLogosBottom);
align-items: center;
border: 1px solid theme("colors.gray.03");
max-width: 100%;
flex: 1;
margin: 0 8px 8px;
margin-bottom: 1rem;
background-color: #fff;
filter: grayscale(100%);
margin-right: 10px;
}
}

Expand Down

0 comments on commit c4dfa25

Please sign in to comment.