fix(feedback): position ring relative to photo button

This commit is contained in:
dev
2026-11-01 22:19:50 +03:00
parent da61efa6a5
commit 6e8e506805
+3 -3
View File
@@ -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; }