From 0f4312bd2ff84017e786f25601c6805c540729d8 Mon Sep 17 00:00:00 2001 From: Cristan Meijer Date: Tue, 26 May 2026 12:27:58 +0200 Subject: [PATCH 1/3] Add a job to validate the CSS --- .github/workflows/validate-css.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/validate-css.yml diff --git a/.github/workflows/validate-css.yml b/.github/workflows/validate-css.yml new file mode 100644 index 0000000..428c1b5 --- /dev/null +++ b/.github/workflows/validate-css.yml @@ -0,0 +1,13 @@ +name: Validate CSS + +on: [push, pull_request] + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 + with: + node-version: 26 + - run: npx -y csstree-validator css/flat-remix.css From 063fba907400022dd3a49c61b7a0d7b36e8a8bb5 Mon Sep 17 00:00:00 2001 From: Cristan Meijer Date: Tue, 26 May 2026 12:41:39 +0200 Subject: [PATCH 2/3] Fix the CSS This wasn't valid CSS: `-webkit-touch-callout: text;` Alternatively, we could stop doing this altogether by removing these lines and the global `-webkit-touch-callout: none` as well. --- css/flat-remix.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/css/flat-remix.css b/css/flat-remix.css index 2751d93..3501985 100644 --- a/css/flat-remix.css +++ b/css/flat-remix.css @@ -188,7 +188,7 @@ code, pre { line-height: 2em; cursor: auto; user-select: text; - -webkit-touch-callout: text; + -webkit-touch-callout: default; -webkit-user-select: text; } @@ -213,7 +213,7 @@ textarea, select { font-weight: bold; cursor: text; user-select: text; - -webkit-touch-callout: text; + -webkit-touch-callout: default; -webkit-user-select: text; } @@ -494,6 +494,6 @@ input[type=reset]:active, input[type=reset].active, .selectable { cursor: auto; user-select: text; - -webkit-touch-callout: text; + -webkit-touch-callout: default; -webkit-user-select: text; } From d807d84fc83d864f7e2b7dc12c83e069e87b59ef Mon Sep 17 00:00:00 2001 From: Cristan Meijer Date: Tue, 26 May 2026 14:11:37 +0200 Subject: [PATCH 3/3] Allow manually running the GitHub action --- .github/workflows/validate-css.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-css.yml b/.github/workflows/validate-css.yml index 428c1b5..b325b82 100644 --- a/.github/workflows/validate-css.yml +++ b/.github/workflows/validate-css.yml @@ -1,6 +1,6 @@ name: Validate CSS -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] jobs: validate: