cropped & centered Sig icon placeholder in #id_tray_* apparatus
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -147,6 +147,21 @@ $handle-r: 1rem;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tray-sig-card {
|
||||||
|
padding: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
background: transparent;
|
||||||
|
|
||||||
|
img {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
object-position: center;
|
||||||
|
transform: scale(1.4); // crop SVG's internal margins
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes tray-wobble {
|
@keyframes tray-wobble {
|
||||||
0%, 100% { transform: translateX(0); }
|
0%, 100% { transform: translateX(0); }
|
||||||
20% { transform: translateX(-8px); }
|
20% { transform: translateX(-8px); }
|
||||||
|
|||||||
Reference in New Issue
Block a user