diff --git a/extension/e2e-tests/addAsset.test.ts b/extension/e2e-tests/addAsset.test.ts index 00c31b1e1f..f10a42914d 100644 --- a/extension/e2e-tests/addAsset.test.ts +++ b/extension/e2e-tests/addAsset.test.ts @@ -144,6 +144,8 @@ test("Adding token on Futurenet", async ({ page, extensionId, context }) => { await page.getByText("I understand, continue").click(); await page.getByTestId("isExperimentalModeEnabledValue").click(); await expect(page.locator("#isExperimentalModeEnabledValue")).toBeChecked(); + // wait for the Background script to be updated + await page.waitForTimeout(1000); await page.getByTestId("BackButton").click(); await page.getByTestId("BackButton").click(); await page.getByTestId("BackButton").click(); diff --git a/extension/src/popup/components/account/AssetDetail/styles.scss b/extension/src/popup/components/account/AssetDetail/styles.scss index 3187203031..482e2a10c4 100644 --- a/extension/src/popup/components/account/AssetDetail/styles.scss +++ b/extension/src/popup/components/account/AssetDetail/styles.scss @@ -147,8 +147,17 @@ background-color: var(--sds-clr-gray-01); position: sticky; bottom: 0; + margin: 0 auto; + // matches View.Inset max-width + max-width: pxToRem(848px); + width: 100%; z-index: 10; + @media (min-width: 850px) { + border-left: 1px solid var(--sds-clr-gray-04); + border-right: 1px solid var(--sds-clr-gray-04); + } + &::before { content: ""; position: absolute;