mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-24 02:39:20 -05:00
fixed recipe image preview scaling in large search
This commit is contained in:
@@ -45,7 +45,7 @@
|
|||||||
id="namedview6"
|
id="namedview6"
|
||||||
showgrid="false"
|
showgrid="false"
|
||||||
inkscape:zoom="0.921875"
|
inkscape:zoom="0.921875"
|
||||||
inkscape:cx="309.52383"
|
inkscape:cx="-25.662611"
|
||||||
inkscape:cy="214.71807"
|
inkscape:cy="214.71807"
|
||||||
inkscape:window-x="2869"
|
inkscape:window-x="2869"
|
||||||
inkscape:window-y="54"
|
inkscape:window-y="54"
|
||||||
@@ -59,8 +59,8 @@
|
|||||||
x="-602.57629"
|
x="-602.57629"
|
||||||
y="-290.16949" />
|
y="-290.16949" />
|
||||||
<path
|
<path
|
||||||
d="m 198.99508,105.32039 c -9.4835,-0.89523 -18.30973,4.9591 -20.73342,14.20588 l -8.69126,33.14115 c 110.10488,3.23343 184.58794,76.92493 189.24752,186.70242 l 33.41527,-9.29389 c 9.22528,-2.56789 14.95881,-11.59086 13.8614,-21.1439 C 393.84116,202.45866 305.74904,115.43295 198.99508,105.32039 Z m -34.31314,65.96427 -58.59701,223.50695 a 9.5128449,9.5471493 0 0 0 11.73701,11.63209 l 222.4163,-61.9004 C 337.73239,241.51893 268.0087,172.46259 164.68194,171.30821 Z m 16.19707,178.95751 a 18.779213,18.846933 0 1 1 18.77921,-18.84693 18.779213,18.846933 0 0 1 -18.77921,18.84693 z m 28.16882,-89.52293 a 18.779213,18.846933 0 1 1 18.77921,-18.84693 18.779213,18.846933 0 0 1 -18.77921,18.84693 z m 61.03245,61.25253 a 18.779213,18.846933 0 1 1 18.77921,-18.84693 18.779213,18.846933 0 0 1 -18.77921,18.84693 z"
|
d="m 235.62851,202.1526 c -3.38906,-0.31992 -6.54323,1.7722 -7.40937,5.07666 l -3.10593,11.84344 c 39.34747,1.15551 65.965,27.49017 67.63017,66.72064 l 11.9414,-3.32129 c 3.29677,-0.91767 5.34573,-4.14216 4.95356,-7.55606 -4.37894,-38.04972 -35.85985,-69.14953 -74.00983,-72.76339 z m -12.26226,23.57322 -20.94044,79.87325 a 3.3995443,3.4118034 0 0 0 4.19438,4.15688 L 286.10367,287.635 c -0.8955,-36.81001 -25.8122,-61.48823 -62.73742,-61.90076 z m 5.78824,63.9529 a 6.7110067,6.7352075 0 1 1 6.711,-6.73521 6.7110067,6.7352075 0 0 1 -6.711,6.73521 z M 239.221,257.68648 a 6.7110067,6.7352075 0 1 1 6.71101,-6.7352 6.7110067,6.7352075 0 0 1 -6.71101,6.7352 z m 21.81077,21.88943 a 6.7110067,6.7352075 0 1 1 6.71101,-6.73521 6.7110067,6.7352075 0 0 1 -6.71101,6.73521 z"
|
||||||
id="path2"
|
id="path2"
|
||||||
style="fill:#d9cfbe;fill-opacity:1;stroke-width:0.58790755"
|
style="fill:#d9cfbe;fill-opacity:1;stroke-width:0.21009675"
|
||||||
inkscape:connector-curvature="0" />
|
inkscape:connector-curvature="0" />
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
@@ -21,8 +21,8 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<img src="{% static 'recipe_no_image.svg' %}"
|
<img src="{% static 'recipe_no_image.svg' %}"
|
||||||
alt="{% trans 'Recipe Image' %}"
|
alt="{% trans 'Recipe Image' %}"
|
||||||
class="card-img d-none d-lg-block"
|
class="card-img d-none d-md-block"
|
||||||
style="object-fit: inherit; height: 130px">
|
style="object-fit: cover; height: 130px">
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user