-
Hello :-) - I don't know if this is a problem of the Docs-Theme or a problem of Hyas-Images. I really try to get Hyas images to fly, but no matter which parameters I try, according to the instructions... The images are always displayed distorted. Here, for example, I have a square image (1000x1000): https://carsten-nichte.de/info/
In the blog, the images (all the same landscape format) were previously displayed in the correct aspect ratio, but since the last Hyas update, the images also distort. If you change the size of the browser window, you can see how it plays out. https://carsten-nichte.de/blog/ What am I doing wrong there? Ps. In all other areas of my website I do not use Hyas-Images, and there the AspectRatio keeping works perfectly. I just don't understand what Hyas-Images in combination with Doks is doing there... Every hint is welcome - best regards Carsten |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I get the both topics fixed when I change in img[data-sizes="auto"] {
display: block;
width: 100%;
} like so img[data-sizes="auto"] {
display: block;
width: 100%;
height: auto;
} is it worth an update of doks-core ? |
Beta Was this translation helpful? Give feedback.
-
This just works |
Beta Was this translation helpful? Give feedback.
-
This needs an added class: |
Beta Was this translation helpful? Give feedback.
This needs an added class:
h-auto