diff --git a/public/feedback.html b/public/feedback.html index 0e5d2f8..06fe9f4 100644 --- a/public/feedback.html +++ b/public/feedback.html @@ -52,14 +52,13 @@ .fb-card-info .lesson-group, .fb-card-info .lesson-topic { min-width:0; overflow-wrap:anywhere; } .fb-card-photo { position:relative; width:63px; height:63px; flex:none; } .fb-card-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; } - .settings-field.fb-resident-field { flex-direction:row; align-items:stretch; gap:10px; } - .fb-resident-main { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:8px; } - .fb-resident-row { display:flex; align-items:center; min-width:0; } - .fb-resident-row .fb-mark-wrap { flex:1 1 auto; min-width:0; display:flex; align-items:center; } - .fb-resident-row .fb-mark-wrap input { width:100%; min-width:0; } - #fbResidentPhoto { position:relative; flex:none; width:auto; height:auto; aspect-ratio:1 / 1; align-self:stretch; min-height:0; } + .fb-top-row { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:12px; margin-bottom:12px; } + @media (max-width:700px) { .fb-top-row { grid-template-columns:1fr; gap:8px; } } + .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; } - #fbResidentPhoto img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; } + .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 img { width:100%; height:100%; object-fit:cover; display:block; } #fbPromptModal { overflow:auto; align-items:flex-start; padding:4vh 16px; } #fbPromptModal > .edit-modal { margin:auto; } .feedback-item { position:relative; } @@ -139,7 +138,7 @@