fix(FN-821): fix Activity Log modal layout and close control
- Fix modal sizing to properly fit within viewport on various screen sizes - Fix close button visibility and accessibility in ActivityLogModal component - Refactor CSS to simplify modal styles (remove unused/verbose rules) - Add regression tests for modal layout and close button behavior - Update Activity Log docs to reflect modal sizing changes
This commit is contained in:
@@ -11919,20 +11919,14 @@ html .column.drag-over * {
|
||||
/* ── Activity Log Modal ─────────────────────────────────────────── */
|
||||
|
||||
.activity-log-modal {
|
||||
max-width: 600px;
|
||||
max-height: 80vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.activity-log-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: var(--space-lg) 20px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
background: var(--bg-secondary);
|
||||
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
||||
/* Extends shared .modal-header with activity-log-specific overrides */
|
||||
gap: var(--space-sm);
|
||||
}
|
||||
|
||||
.activity-log-title {
|
||||
@@ -11971,8 +11965,7 @@ html .column.drag-over * {
|
||||
}
|
||||
|
||||
.activity-log-refresh,
|
||||
.activity-log-clear,
|
||||
.activity-log-close {
|
||||
.activity-log-clear {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -11992,11 +11985,6 @@ html .column.drag-over * {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.activity-log-close:hover {
|
||||
background: var(--color-red, rgba(239, 68, 68, 0.1));
|
||||
color: var(--color-red, #ef4444);
|
||||
}
|
||||
|
||||
.activity-log-content {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
@@ -12379,8 +12367,7 @@ html .column.drag-over * {
|
||||
|
||||
/* Action buttons stay inline but shrink */
|
||||
.activity-log-refresh,
|
||||
.activity-log-clear,
|
||||
.activity-log-close {
|
||||
.activity-log-clear {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
flex-shrink: 0;
|
||||
|
||||
Reference in New Issue
Block a user