Set image ratio

This commit is contained in:
2021-12-01 21:38:58 +01:00
parent 63dcff53ea
commit b55926a73d
4 changed files with 4 additions and 3 deletions

View File

@@ -703,6 +703,7 @@ $legend-color: $post-color;
img {
width: 100%;
height: auto;
max-width: 180px;
transform: translateX(-10%); //Center Text, not logo. logo width (40px) / image width (200px) = 20%. And centering: 20% / 2 = 10%
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long