0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-06-22 00:38:38 +00:00

make sure tall images fit

This commit is contained in:
Víctor Losada Hernández
2026-04-24 13:18:18 +02:00
parent fac3ef15fa
commit 8872adfd95
+7 -3
View File
@@ -162,8 +162,6 @@
&::before, &::after {
content:"";
width:100px;
height:100px;
position:absolute;
bottom:0;
left:0;
@@ -176,14 +174,20 @@
}
&::before{
width:200px;
height:200px;
background-color: #fff;
border-radius:10px;
border:3px solid grey;
}
&::after {
width:190px;
height:190px;
//padding of 5px + 3px border: 8px
translate:8px calc(100% + 8px);
background-image: var(--preview-img);
background-size:80%;
background-size:contain;
background-repeat:no-repeat;
background-position:center;
filter:drop-shadow(0 0 5px #0008);