mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-23 12:17:07 +00:00
Restore original image size, shift position to not cover text
This commit is contained in:
1 parent
a6ede58d8e
commit
e12579a2a2
1 file changed
+3
-4
@@ -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