fix(resource): anchor link socket at closed-card center

This commit is contained in:
Lucio Lelii 2026-09-30 10:02:22 +02:00
parent bc7fe4202a
commit b252af3448
1 changed files with 3 additions and 4 deletions

View File

@ -266,16 +266,15 @@
}
/*
* The handle is centered on the card but has a fixed height. It must not grow with the optional
* settings panel, otherwise opening settings would stretch every resource connection.
* The handle is centered on a closed resource card and keeps that exact fixed position and height
* when the optional settings panel opens, so resource connections do not shift or stretch.
*/
.resource-card__link {
position: absolute;
top: 50%;
top: 6px;
right: -5px;
width: 9px;
height: 52px;
transform: translateY(-50%);
}
.resource-card__socket {