Skip to content

Commit 8fe35c3

Browse files
committed
fix(ui/search): resolve card display important block, alphabetical sorting duplicates, and sync scroll behavior
1 parent 96b11e8 commit 8fe35c3

3 files changed

Lines changed: 230 additions & 273 deletions

File tree

web-app/css/styles.css

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1849,6 +1849,10 @@ body {
18491849
color: #999fee;
18501850
}
18511851

1852+
.game-icon-blackjack {
1853+
color: #8b5cf6;
1854+
}
1855+
18521856
.game-icon-dice {
18531857
color: #e04f4f;
18541858
}
@@ -4469,6 +4473,8 @@ body {
44694473
.btn-play {
44704474
transform: none !important;
44714475
}
4476+
}
4477+
44724478
/* Fix card content alignment */
44734479
.project-card {
44744480
text-align: left;
@@ -4513,43 +4519,38 @@ body {
45134519

45144520
.projects-grid {
45154521
display: grid !important;
4516-
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
4522+
grid-template-columns: repeat(auto-fit, minmax(260px, 360px)) !important;
4523+
justify-content: center !important;
45174524
gap: 1.2rem !important;
4518-
margin-top: 2rem !important;
4525+
margin: 0 auto 2rem !important;
45194526
align-items: stretch !important;
45204527
}
45214528

4529+
.projects-grid > .project-card {
4530+
justify-self: center !important;
4531+
width: 100% !important;
4532+
max-width: 360px !important;
4533+
}
4534+
45224535
.project-card {
45234536
min-height: 240px !important;
4524-
display: flex !important;
4537+
display: flex;
45254538
flex-direction: column !important;
4526-
justify-content: space-between !important;
4527-
align-items: stretch !important;
4539+
justify-content: flex-start !important;
4540+
align-items: flex-start !important;
45284541
padding: 1.75rem 1.5rem 1.5rem !important;
45294542
border-radius: 28px !important;
45304543
background: var(--surface-color) !important;
45314544
border: 1px solid var(--accent-border) !important;
45324545
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08) !important;
45334546
transition: transform 0.2s ease !important;
4534-
}
4535-
4536-
.project-card h3 {
4537-
margin-bottom: 0.75rem !important;
4538-
font-size: 1.15rem !important;
4539-
line-height: 1.35 !important;
4540-
color: var(--text-color) !important;
4541-
}
4542-
4543-
.project-card p {
4544-
margin-bottom: 1rem !important;
4545-
color: var(--text-secondary) !important;
4547+
margin: 0 auto !important;
45464548
font-size: 0.95rem !important;
45474549
line-height: 1.6 !important;
4548-
flex: 1 1 auto !important;
45494550
}
45504551

45514552
.project-card .btn-play {
4552-
margin-top: auto !important;
4553+
margin-top: 1rem !important;
45534554
align-self: flex-start !important;
45544555
}
45554556

@@ -4561,7 +4562,7 @@ body {
45614562
border-radius: 22px !important;
45624563
background: var(--accent-soft) !important;
45634564
color: var(--accent-color) !important;
4564-
margin-bottom: 1.2rem !important;
4565+
margin: 0 auto 1.2rem !important;
45654566
font-size: 2rem !important;
45664567
}
45674568

0 commit comments

Comments
 (0)