0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 18:02:42 +00:00

Restore original image size, shift position to not cover text

This commit is contained in:
Trevor Buckner
2022-03-13 01:38:48 -05:00
parent a6ede58d8e
commit e12579a2a2

View File

@@ -121,11 +121,10 @@
color: white;
}
img {
mask-image: linear-gradient(90deg, transparent 150px, black 250px);
-webkit-mask-image: linear-gradient(90deg, transparent 150px, black 250px);
width: 100%;
mask-image: linear-gradient(90deg, transparent, black 20%);
-webkit-mask-image: linear-gradient(90deg, transparent, black 20%);
position: absolute;
right: 0px;
left: ~"max(100px, 100% - 300px)";
top: 0px;
}
}