Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 844da7a

Browse files
authored
Fix compound typography font component issues (#12826)
* Fix compound typography font component issues Signed-off-by: Michael Telatynski <[email protected]> * Update playwright tests Signed-off-by: Michael Telatynski <[email protected]> --------- Signed-off-by: Michael Telatynski <[email protected]>
1 parent 4e6b1c8 commit 844da7a

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

playwright/e2e/app-loading/feature-detection.spec.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ test(`shows error page if browser lacks Intl support`, async ({ page }) => {
2121
await page.goto("/");
2222

2323
// Lack of Intl support causes the app bundle to fail to load, so we get the iframed
24-
// static error page and need to explicitly look in the iframe becuse Playwright doesn't
24+
// static error page and need to explicitly look in the iframe because Playwright doesn't
2525
// recurse into iframes when looking for elements
26-
const header = await page.frameLocator("iframe").getByText("Unsupported browser");
26+
const header = page.frameLocator("iframe").getByText("Unsupported browser");
2727
await expect(header).toBeVisible();
2828

2929
await expect(page).toMatchScreenshot("unsupported-browser.png");
@@ -34,8 +34,8 @@ test(`shows error page if browser lacks WebAssembly support`, async ({ page }) =
3434
await page.goto("/");
3535

3636
// Lack of WebAssembly support doesn't cause the bundle to fail loading, so we get
37-
// CompatibilityView, ie. no iframes.
38-
const header = await page.getByText("Unsupported browser");
37+
// CompatibilityView, i.e. no iframes.
38+
const header = page.getByText("Unsupported browser");
3939
await expect(header).toBeVisible();
4040

4141
await expect(page).toMatchScreenshot("unsupported-browser-CompatibilityView.png");

res/css/_common.pcss

-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ limitations under the License.
2525
@import url("maplibre-gl/dist/maplibre-gl.css");
2626

2727
:root {
28-
font-size: 10px;
29-
3028
--container-border-width: 8px;
3129
--container-gap-width: 8px; /* only even numbers should be used because otherwise we get 0.5px margin values. */
3230
--transition-short: 0.1s;

0 commit comments

Comments
 (0)