Skip to content

Commit 45bc698

Browse files
committed
Added object-postion: top left; to snapshot
1 parent 7d4a8d8 commit 45bc698

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/ui/widgets/Symbol/__snapshots__/symbol.test.tsx.snap

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports[`<Symbol /> from .bob file > matches snapshot (using fallback symbol) 1`
77
>
88
<img
99
src="https://cs-web-symbol.diamond.ac.uk/catalogue/default.svg"
10-
style="width: 100%; height: 100%; display: block; transform: rotate(0deg) scaleX(1) scaleY(1); object-fit: fill;"
10+
style="width: 100%; height: 100%; display: block; transform: rotate(0deg) scaleX(1) scaleY(1); object-fit: fill; object-position: top left;"
1111
/>
1212
</div>
1313
</DocumentFragment>
@@ -20,7 +20,7 @@ exports[`<Symbol /> from .bob file > matches snapshot (with index) 1`] = `
2020
>
2121
<img
2222
src="img 3.svg"
23-
style="width: 100%; height: 100%; display: block; transform: rotate(0deg) scaleX(1) scaleY(1); object-fit: fill;"
23+
style="width: 100%; height: 100%; display: block; transform: rotate(0deg) scaleX(1) scaleY(1); object-fit: fill; object-position: top left;"
2424
/>
2525
</div>
2626
</DocumentFragment>
@@ -33,7 +33,7 @@ exports[`<Symbol /> from .bob file > matches snapshot (with rotation) 1`] = `
3333
>
3434
<img
3535
src="img 1.gif"
36-
style="width: 100%; height: 100%; display: block; transform: rotate(45deg) scaleX(1) scaleY(1); object-fit: fill;"
36+
style="width: 100%; height: 100%; display: block; transform: rotate(45deg) scaleX(1) scaleY(1); object-fit: fill; object-position: top left;"
3737
/>
3838
</div>
3939
</DocumentFragment>
@@ -46,7 +46,7 @@ exports[`<Symbol /> from .bob file > matches snapshot (without index) 1`] = `
4646
>
4747
<img
4848
src="img 1.gif"
49-
style="width: 100%; height: 100%; display: block; transform: rotate(0deg) scaleX(1) scaleY(1); object-fit: fill;"
49+
style="width: 100%; height: 100%; display: block; transform: rotate(0deg) scaleX(1) scaleY(1); object-fit: fill; object-position: top left;"
5050
/>
5151
</div>
5252
</DocumentFragment>
@@ -59,7 +59,7 @@ exports[`<Symbol /> from .opi file > matches snapshot (with rotation) 1`] = `
5959
>
6060
<img
6161
src="img 1.gif"
62-
style="width: 100%; height: 100%; display: block; transform: rotate(45deg) scaleX(1) scaleY(1); object-fit: fill;"
62+
style="width: 100%; height: 100%; display: block; transform: rotate(45deg) scaleX(1) scaleY(1); object-fit: fill; object-position: top left;"
6363
/>
6464
</div>
6565
</DocumentFragment>
@@ -72,7 +72,7 @@ exports[`<Symbol /> from .opi file > matches snapshot 1`] = `
7272
>
7373
<img
7474
src="img 1.gif"
75-
style="width: 100%; height: 100%; display: block; transform: rotate(0deg) scaleX(1) scaleY(1); object-fit: fill;"
75+
style="width: 100%; height: 100%; display: block; transform: rotate(0deg) scaleX(1) scaleY(1); object-fit: fill; object-position: top left;"
7676
/>
7777
</div>
7878
<div
@@ -84,7 +84,7 @@ exports[`<Symbol /> from .opi file > matches snapshot 1`] = `
8484
>
8585
<div
8686
class="Label _Label_c35983"
87-
style="background-color: transparent; cursor: default; justify-content: flex-start; align-items: flex-start;"
87+
style="background-color: transparent; cursor: default; justify-content: flex-start; align-items: flex-start; object-position: top left;"
8888
>
8989
<span>
9090
Fake value

0 commit comments

Comments
 (0)