From 93842e8d966daec4d04aab40b98dffb6a9ede04a Mon Sep 17 00:00:00 2001 From: Evan Gress <106449014+evangress@users.noreply.github.com> Date: Fri, 13 Nov 2026 20:56:18 -0500 Subject: [PATCH 1/2] Copy button: the code scrolls clear of it On a
whose line is longer than the block (the install line on the demo page), the absolutely positioned Copy button sat over the end of the visible text: 5rem of end padding only helps once scrolled to the very end. Measured on the demo with TagBrush.css 2: text under the button at 360px and 1280px, "defer" hidden. Thenow has a transparent 5rem end border instead of the padding. The background shows through a border, so the block looks the same, but the scrollport ends before the button, so text never runs under it. It also gets overflow-x: auto, so this holds with no stylesheet. Co-Authored-By: Claude Opus 5.5--- CHANGELOG.md | 5 +++++ README.md | 2 +- ai/AGENTS.md | 2 +- ai/claude/tagaction/SKILL.md | 2 +- ai/cursor/tagaction.mdc | 2 +- llms.txt | 2 +- src/styles.js | 5 ++++- tagaction.js | 2 +- tagaction.min.js | 2 +- tests/behaviors.spec.mjs | 34 ++++++++++++++++++++++++++++++++++ 10 files changed, 50 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1c0d41..24d38ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## Unreleased + +### Fixed +- The Copy button on a ` ` no longer covers the code. A line too long for the block (the install line on the demo page) ran under the button, which sat over the end of the visible text ("defer" was hidden at 360px and 1280px). The `` now keeps a transparent 5rem end border for the button, instead of 5rem of end padding: its background shows through, but the code scrolls inside it, so it never passes under the button, at the start or scrolled to the end. The `` also scrolls sideways without a stylesheet. + ## 0.2.0 (2026-11-12) Behaviors for the patterns TagBrush.css gained (dropdowns from ``, the phone menu), and things visitors expect on any site. diff --git a/README.md b/README.md index ff883df..de68bc5 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ TagAction is the companion to [TagBrush.css](https://github.com/kovirlabs/tagbru | `