Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix(web): uniform 24px rounded corners on typewriter 3D body faces

Gener8e07e4e03a48
diff --git a/src/web/src/app/globals.css b/src/web/src/app/globals.css
index 749fe778b..5f1c00b53 100644
--- a/src/web/src/app/globals.css
+++ b/src/web/src/app/globals.css
@@ -252,18 +252,6 @@
transform-style: preserve-3d;
}
-/* Corner filler — flat rectangle just behind front face, seals rounded-corner gaps */
-.tw-body::after {
- content: "";
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- height: 14px;
- background: var(--tw-body-lo);
- transform: translateZ(79px);
-}
-
/* Front face — main visible surface */
.tw-body-front {
position: absolute;
@@ -274,7 +262,7 @@
var(--tw-body) 30%,
var(--tw-body-lo) 100%
);
- border-radius: 0 0 12px 12px;
+ border-radius: 24px;
transform: translateZ(80px);
box-shadow:
inset 0 1px 0 oklch(1 0 0 / 6%),
@@ -288,17 +276,17 @@
position: absolute;
inset: 0;
background: var(--tw-body-lo);
- border-radius: 0 0 12px 12px;
+ border-radius: 24px;
transform: translateZ(-80px) rotateY(180deg);
}
-/* Left face */
+/* Left face — chamfered corners simulate the front/back border-radius */
.tw-body-left {
position: absolute;
width: 160px;
height: 260px;
background: oklch(0.22 0.01 58);
- border-radius: 0 0 0 12px;
+ border-radius: 24px;
transform: rotateY(-90deg) translateZ(80px);
box-shadow: inset 10px 0 30px oklch(0 0 0 / 6%);
}
@@ -309,7 +297,7 @@
width: 160px;
height: 260px;
background: var(--tw-body-lo);
- border-radius: 0 0 12px 0;
+ border-radius: 24px;
transform: rotateY(90deg) translateZ(340px);
}
@@ -319,7 +307,7 @@
width: 420px;
height: 160px;
background: oklch(0.30 0.01 60);
- border-radius: 0;
+ border-radius: 24px;
transform: rotateX(90deg) translateZ(80px);
}
@@ -329,7 +317,7 @@
width: 420px;
height: 160px;
background: oklch(0.14 0.01 55);
- border-radius: 0 0 12px 12px;
+ border-radius: 24px;
transform: rotateX(-90deg) translateZ(180px);
box-shadow: 0 60px 100px oklch(0 0 0 / 20%);
}