diff --git a/components/image/__tests__/__snapshots__/browser.test.tsx.snap b/components/image/__tests__/__snapshots__/browser.test.tsx.snap index f8f73fa7d..dbaca9ff3 100644 --- a/components/image/__tests__/__snapshots__/browser.test.tsx.snap +++ b/components/image/__tests__/__snapshots__/browser.test.tsx.snap @@ -434,8 +434,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -488,8 +490,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -644,8 +648,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -698,8 +704,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -1135,8 +1143,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -1189,8 +1199,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -1768,8 +1780,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -1822,8 +1836,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -1978,8 +1994,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -2032,8 +2050,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -2469,8 +2489,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -2523,8 +2545,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -3867,8 +3891,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -3921,8 +3947,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -4077,8 +4105,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -4131,8 +4161,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -4568,8 +4600,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -4622,8 +4656,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -5201,8 +5237,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -5255,8 +5293,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -5411,8 +5451,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -5465,8 +5507,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -5902,8 +5946,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -5956,8 +6002,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -7088,8 +7136,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -7142,8 +7192,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -7298,8 +7350,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -7352,8 +7406,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -7789,8 +7845,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -7843,8 +7901,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -8422,8 +8482,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -8476,8 +8538,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -8632,8 +8696,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -8686,8 +8752,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -9123,8 +9191,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -9177,8 +9247,10 @@ LoadedCheerio { padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, diff --git a/components/link/__tests__/__snapshots__/index.test.tsx.snap b/components/link/__tests__/__snapshots__/index.test.tsx.snap index d0be181d6..0de096c8a 100644 --- a/components/link/__tests__/__snapshots__/index.test.tsx.snap +++ b/components/link/__tests__/__snapshots__/index.test.tsx.snap @@ -17,8 +17,10 @@ exports[`Link should render correctly 1`] = ` padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -47,8 +49,10 @@ exports[`Link should render correctly 1`] = ` padding: 0 0 0 0; } .block { - padding: calc(0.268 * 16px) calc(0.5625 * 16px) calc(0.268 * 16px) - calc(0.5625 * 16px); + padding: calc(0.125 * 16px) calc(0.25 * 16px) calc(0.125 * 16px) + calc(0.25 * 16px); + margin: 0 calc(-0.125 * 16px) 0 + calc(-0.125 * 16px); } .link:hover, @@ -61,9 +65,9 @@ exports[`Link should render correctly 1`] = ` background-color: unset; color: #3291ff; } - linklink