1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-07 22:56:32 +02:00

Version 1.5.2 image width,height and aspect ratio

This commit is contained in:
trendschau
2022-01-04 21:50:38 +01:00
parent b559b5d163
commit da4973979e
4 changed files with 169 additions and 42 deletions

View File

@@ -136,7 +136,9 @@ dt::after{
/* Make images and image captions look good */
img, figure,figure img{
max-width: 100%;
max-width: 100%;
height: auto;
aspect-ratio: attr(width) / attr(height);
}
figure{
display: table;