fix(spinner): alignment is now correct in rtl (#25260)

This commit is contained in:
Liam DeBeasi
2022-05-09 14:36:14 -04:00
committed by GitHub
parent 7220b4b46f
commit e3c996dea8
7 changed files with 9 additions and 1 deletions

View File

@@ -24,11 +24,19 @@
}
svg {
@include position(0, null, null, 0);
@include transform-origin(center);
position: absolute;
/**
* Do not use @include position
* as the alignment of the elements with
* a spinner should not be RTL aware.
*/
top: 0;
/* stylelint-disable-next-line property-disallowed-list */
left: 0;
width: 100%;
height: 100%;

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

After

Width:  |  Height:  |  Size: 190 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 KiB

After

Width:  |  Height:  |  Size: 168 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 119 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 108 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 27 KiB