Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ The format follows [Keep a Changelog] (https://keepachangelog.com/en/1.1.0/).
- **Certificate forms: no silent failure when the browser cannot run them** (#2030). The form posts with `method="post"`, so without JavaScript the name, e-mail and CPF/RF stay out of the URL and the logs, and a notice says JavaScript is off. A form whose scripts, PDF libraries or captcha and nonce refresh did not load in 10 s shows "The form did not load completely" with a Reload button instead of a form that fails on submit.
- **GPS forms no longer show "Location blocked" twice** (#2030). On a cached page, refreshing the captcha and security codes re-ran the checks while the browser was still answering the permission query, and both answers drew a banner. A stale answer is now dropped, and a banner replaces one with the same purpose.
- **"Location blocked" only when the browser really blocks it** (#2048). Opera for Android reports the location as blocked while it gives the position, so GPS forms showed a false block, the check-in a false error and the device test "Blocked". A reported block is now confirmed by one quick read; the position is discarded.
- **The submissions list keeps a row's buttons on one line** (#2050). Every column of the fixed-layout table had an equal share, so Edit, PDF and Trash wrapped while Status and Date sat half empty. Status and Date now take what they hold, Actions what three buttons need, and the buttons keep an even gap. "Reveal this page" sits below the status links and the search box instead of between them.

### Changed

Expand Down
7 changes: 7 additions & 0 deletions assets/css/ffc-admin-components.css
Original file line number Diff line number Diff line change
Expand Up @@ -480,3 +480,10 @@
display: none;
}
}

/* "Reveal this page" sits below a list's status links and search box, which
WordPress floats left and right; without the clear it ran into the gap
between them (#2050). */
.ffc-pii-reveal-bar {
clear: both;
}
2 changes: 1 addition & 1 deletion assets/css/ffc-admin-components.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions assets/css/ffc-admin-submissions.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,27 @@
padding: var(--ffc-spacing-lg) var(--ffc-spacing-md);
}

/* The fixed layout gave every column an equal share, so Status and Date
took far more than they hold while the action buttons wrapped. The two
short columns take what they hold and Actions what three buttons need;
the text columns share the rest. */
.ffc-table-responsive table.wp-list-table .column-status,
.ffc-table-responsive table.wp-list-table .column-submission_date {
width: 9em;
}

.ffc-table-responsive table.wp-list-table .column-actions {
width: 22em;
}

/* The buttons sit on one line when they fit and wrap with an even gap when
they do not (a trashed row has four). */
.ffc-submission-actions {
display: flex;
flex-wrap: wrap;
gap: var(--ffc-spacing-xs);
}

.ffc-table-responsive table.wp-list-table {
border: 1px solid var(--ffc-border);
border-radius: var(--ffc-radius-sm);
Expand Down
Loading
Loading