From 6e8e5068055a4df69403c3eda4b1f677fac70182 Mon Sep 17 00:00:00 2001 From: dev Date: Sun, 1 Nov 2026 22:19:50 +0300 Subject: [PATCH] fix(feedback): position ring relative to photo button --- public/feedback.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/feedback.html b/public/feedback.html index 96278b1..0540279 100644 --- a/public/feedback.html +++ b/public/feedback.html @@ -38,8 +38,8 @@ .fb-tpl-row button:disabled { opacity:.5; cursor:default; } .fb-mark-wrap { position:relative; } .fb-mark-stripe { position:absolute; left:2px; right:2px; bottom:-6px; height:3px; border-radius:999px; z-index:0; transition:background .25s ease, box-shadow .25s ease; } - #fbResidentPhoto .fb-mark-stripe { left:0; right:0; top:0; bottom:0; height:auto; border-radius:50%; pointer-events:none; z-index:3; display:flex; align-items:center; justify-content:center; overflow:hidden; box-sizing:border-box; transition:border-color .25s ease, box-shadow .25s ease; } - #fbResidentPhoto .fb-mark-stripe img { width:100%; height:100%; object-fit:cover; display:block; border-radius:50%; } + #fbResidentPhoto .fb-mark-stripe { position:absolute; left:0; right:0; top:0; bottom:0; border-radius:50%; pointer-events:none; z-index:3; overflow:hidden; box-sizing:border-box; transition:border-color .25s ease, box-shadow .25s ease; } + #fbResidentPhoto .fb-mark-stripe img { position:absolute; left:0; right:0; top:0; bottom:0; width:100%; height:100%; object-fit:cover; display:block; border-radius:50%; } .fb-mark-stripe[hidden] { display:none; } .fb-card-resident { display:flex; align-items:center; gap:10px; min-width:0; } .fb-card-meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; min-width:0; } @@ -58,7 +58,7 @@ .fb-top-row .settings-field { display:flex; flex-direction:column; gap:5px; min-width:0; } .fb-top-row .fb-mark-wrap { width:100%; } #fbResidentPhoto[hidden] { display:none; } - .fb-resident-photo { width:34px; height:34px; flex:none; border-radius:50%; overflow:hidden; border:1px solid var(--border); background:var(--bg); cursor:pointer; display:inline-flex; align-items:center; justify-content:center; } + .fb-resident-photo { width:34px; height:34px; flex:none; border-radius:50%; overflow:hidden; border:1px solid var(--border); background:var(--bg); cursor:pointer; display:inline-flex; align-items:center; justify-content:center; position:relative; } .fb-resident-photo img { width:100%; height:100%; object-fit:cover; display:block; } #fbResidentPhoto .fb-mark-stripe img { width:100%; height:100%; object-fit:cover; display:block; border-radius:50%; } #fbPromptModal { overflow:auto; align-items:flex-start; padding:4vh 16px; }