From 10f20c8aecc13e626c7a5831a9f2295b00bc7475 Mon Sep 17 00:00:00 2001 From: rednakse Date: Wed, 1 Apr 2026 23:37:16 +0300 Subject: [PATCH] fix: prevent copy button label from shifting table --- docs/PLAN.md | 1 + src/app.css | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/docs/PLAN.md b/docs/PLAN.md index 396d1c2..c8fe014 100644 --- a/docs/PLAN.md +++ b/docs/PLAN.md @@ -22,3 +22,4 @@ Updated: 2026-04-01 6. Moved user creation into a modal flow and tightened the operator UX with quieter navigation and a denser users table. 7. Rebuilt the UI shell from scratch around a stable topbar/tab layout with fixed typography and lower visual noise across window sizes. 8. Corrected the user-creation flow to select a 3proxy service instead of assigning a per-user port, matching the documented 3proxy model. +9. Stabilized the Users table copy action so the column no longer shifts when the button label changes to `Copied`. diff --git a/src/app.css b/src/app.css index b6dad65..2e80346 100644 --- a/src/app.css +++ b/src/app.css @@ -150,6 +150,13 @@ button, color: var(--text); } +.copy-button { + display: inline-flex; + align-items: center; + justify-content: center; + min-width: 76px; +} + .copy-button.danger { color: var(--danger); }