fix(resource): anchor link socket at closed-card center
This commit is contained in:
parent
bc7fe4202a
commit
b252af3448
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue