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:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user