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