Skip to content

Commit 5ecf731

Browse files
committed
修正 核心优势 中的四个卡片不一样大的问题
1 parent f54d583 commit 5ecf731

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pages/index.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,9 +626,9 @@ html[data-theme="dark"] .hero-terminal-screen::-webkit-scrollbar-thumb:hover {
626626
.feature-grid {
627627
display: grid;
628628
grid-template-columns: repeat(2, 1fr);
629+
grid-auto-rows: 1fr;
629630
gap: 2.0rem;
630631
width: 100%;
631-
justify-items: center;
632632
max-width: 100%;
633633
}
634634

@@ -640,6 +640,7 @@ html[data-theme="dark"] .hero-terminal-screen::-webkit-scrollbar-thumb:hover {
640640
border: 1px solid var(--home-panel-border);
641641
min-width: 240px;
642642
max-width: 100%;
643+
height: 100%;
643644
display: flex;
644645
flex-direction: column;
645646
gap: 0.8rem;

0 commit comments

Comments
 (0)