Skip to content

Commit 67a781c

Browse files
committed
feat: fix sizing
1 parent 646da2b commit 67a781c

File tree

2 files changed

+248
-122
lines changed

2 files changed

+248
-122
lines changed

src/spaces/mcp/pages/McpPage.module.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,39 @@
33
margin: 0.1em auto -8px auto;
44
width: 100%;
55
}
6+
7+
/* Dynamic expansion animations for bento grid */
8+
.expandedGrid {
9+
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
10+
/* Keep the original 600px height and 6-row structure */
11+
}
12+
13+
.expandedCard {
14+
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
15+
transform: scale(1.02);
16+
box-shadow: var(--sapContent_Shadow3) !important;
17+
border: 2px solid var(--sapButton_Selected_BorderColor) !important;
18+
}
19+
20+
.hidingCard {
21+
opacity: 0;
22+
transform: scale(0.95) translateX(20px);
23+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
24+
pointer-events: none;
25+
}
26+
27+
/* Smooth grid column transitions */
28+
.expandedGrid .bentoCard {
29+
transition: grid-column 0.5s cubic-bezier(0.4, 0, 0.2, 1);
30+
}
31+
32+
@keyframes slideInUp {
33+
from {
34+
opacity: 0;
35+
transform: translateY(20px);
36+
}
37+
to {
38+
opacity: 1;
39+
transform: translateY(0);
40+
}
41+
}

0 commit comments

Comments
 (0)