From a304b1f74419485ea12c6c86605dc18526b74177 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Tue, 2 Jun 2026 18:12:29 +0100 Subject: [PATCH] changes " to ' in uppcss files to work around bug in pp --- http/src/css/base.uppcss | 8 ++++---- http/src/css/hcard.uppcss | 6 +++--- http/src/css/otp.uppcss | 2 +- http/src/css/reset.uppcss | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/http/src/css/base.uppcss b/http/src/css/base.uppcss index ea9bace..f2f93be 100644 --- a/http/src/css/base.uppcss +++ b/http/src/css/base.uppcss @@ -114,7 +114,7 @@ body { /* Geometric Humanist stack from https://modernfontstacks.com */ font-family: - Avenir, Montserrat, Corbel, "URW Gothic", source-sans-pro, sans-serif; + Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif; } small { @@ -442,11 +442,11 @@ form { margin-block-end: var(--spacing-block-xs); } - * + :is(label, input[type="submit"], button) { + * + :is(label, input[type='submit'], button) { margin-block-start: var(--spacing-block-md); } - :is(input[type="submit"], input[type="button"], button) { + :is(input[type='submit'], input[type='button'], button) { padding-inline: var(--spacing-inline-sm); max-width: max-content; &:not(dialog *) { @@ -454,7 +454,7 @@ form { } } - :is(input[type="email"], input[type="text"], select) { + :is(input[type='email'], input[type='text'], select) { max-width: 100%; width: 16rem; } diff --git a/http/src/css/hcard.uppcss b/http/src/css/hcard.uppcss index 78f82b5..7908bc8 100644 --- a/http/src/css/hcard.uppcss +++ b/http/src/css/hcard.uppcss @@ -27,7 +27,7 @@ top: -6rem; /* A content value is needed to get the ::after to render */ - content: ""; + content: ''; } @media (min-width: 36rem) { @@ -37,8 +37,8 @@ grid-template-columns: subgrid; /** Subgrid of main column layout */ grid-template-rows: min-content 1fr; grid-template-areas: - "empty heading" - "photo text"; + 'empty heading' + 'photo text'; column-gap: var(--spacing-block-sm); } diff --git a/http/src/css/otp.uppcss b/http/src/css/otp.uppcss index 4a7db02..47a74d3 100644 --- a/http/src/css/otp.uppcss +++ b/http/src/css/otp.uppcss @@ -23,7 +23,7 @@ margin: 0; } - input[type="submit"] { + input[type='submit'] { max-width: max-content; } } diff --git a/http/src/css/reset.uppcss b/http/src/css/reset.uppcss index 00deeb1..03df124 100644 --- a/http/src/css/reset.uppcss +++ b/http/src/css/reset.uppcss @@ -29,8 +29,8 @@ dd { } /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */ -ul[role="list"], -ol[role="list"] { +ul[role='list'], +ol[role='list'] { list-style: none; }