Placeholders now keep their aspect ratio even when displaying in large screen

This commit is contained in:
Stephen Abello
2021-02-20 10:52:45 +01:00
parent 147e240035
commit f61ec3179a
4 changed files with 11 additions and 9 deletions

View File

@@ -1,9 +1,10 @@
<svg
role="img"
aria-labelledby="loading-aria"
aria-labelledby="dashboard-loading-aria"
viewBox="0 0 540 100"
preserveAspectRatio="none"
preserveAspectRatio="xMidYMid meet"
>
<title id="dashboard-loading-aria">Loading...</title>
<rect
x="0"
y="0"

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -1,10 +1,10 @@
<svg
role="img"
aria-labelledby="loading-aria"
aria-labelledby="list-loading-aria"
viewBox="0 0 540 100"
preserveAspectRatio="none"
preserveAspectRatio="xMidYMid meet"
>
<title id="loading-aria">Loading...</title>
<title id="list-loading-aria">Loading...</title>
<rect
x="0"
y="0"

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -1,10 +1,10 @@
<svg
role="img"
aria-labelledby="loading-aria"
aria-labelledby="object-loading-aria"
viewBox="0 0 540 100"
preserveAspectRatio="none"
preserveAspectRatio="xMidYMid meet"
>
<title id="loading-aria">Loading...</title>
<title id="object-loading-aria">Loading...</title>
<rect
x="0"
y="0"

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -2,8 +2,9 @@
role="img"
aria-labelledby="loading-aria"
viewBox="0 0 540 100"
preserveAspectRatio="none"
preserveAspectRatio="xMidYMid meet"
>
<title id="loading-aria">Loading...</title>
<rect
x="0"
y="0"

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB