From 5d983d29dc50aa77ee24184b47f0a9bc83583036 Mon Sep 17 00:00:00 2001 From: DanielRyanSmith Date: Mon, 23 Jun 2025 08:12:17 +0000 Subject: [PATCH 1/7] Add better mobile layout for interop dashboard --- webapp/components/interop-dashboard.js | 8 ----- webapp/components/interop-summary.js | 44 ++++++++++++++++++++++---- webapp/components/wpt-header.js | 35 ++++++++++++++++++++ webapp/templates/interop.html | 5 +-- 4 files changed, 76 insertions(+), 16 deletions(-) diff --git a/webapp/components/interop-dashboard.js b/webapp/components/interop-dashboard.js index 130ccb4ad04..f1756f2bbe6 100644 --- a/webapp/components/interop-dashboard.js +++ b/webapp/components/interop-dashboard.js @@ -291,14 +291,6 @@ class InteropDashboard extends WPTFlags(PolymerElement) { margin: 0 1em; } } - - /* TODO(danielrsmith): This is a workaround to avoid the text scaling that - * happens for p tags on mobile, but not for any other text (like the focus area table). - * Remove this when deeper mobile functionality has been added. */ - p { - text-size-adjust: none; - } -

diff --git a/webapp/components/interop-summary.js b/webapp/components/interop-summary.js index 04c8ee0bffa..7e0dde66b22 100644 --- a/webapp/components/interop-summary.js +++ b/webapp/components/interop-summary.js @@ -29,7 +29,7 @@ class InteropSummary extends PolymerElement {

-
+
--
@@ -106,10 +136,10 @@ class InteropSummary extends PolymerElement {

INVESTIGATIONS

-
+