0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 14:02:41 +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; color: white;
} }
img { img {
mask-image: linear-gradient(90deg, transparent 150px, black 250px); mask-image: linear-gradient(90deg, transparent, black 20%);
-webkit-mask-image: linear-gradient(90deg, transparent 150px, black 250px); -webkit-mask-image: linear-gradient(90deg, transparent, black 20%);
width: 100%;
position: absolute; position: absolute;
right: 0px; left: ~"max(100px, 100% - 300px)";
top: 0px; top: 0px;
} }
} }