[GrandComicsDatabase/gcd-django] Keep editing form actions visible while scrolling (PR #770)

4 views
Skip to first unread message

Simone Nardi

unread,
Sep 23, 2026, 11:32:51 PM (9 days ago) Sep 23
to GrandComicsDatabase/gcd-django, Subscribed

Overview

A small UX improvement with a significant impact on editing productivity: action buttons remain visible while scrolling through long forms, reducing the need to scroll all the way to the bottom to save changes or continue editing.

Features

  • Add a shared sticky action bar to revision, inline editing, and add forms.
  • Preserve existing button styling and allow buttons to wrap on smaller screens.
  • Compile the shared stylesheet with Tailwind 3.4.1, preserving existing CSS classes.

Validation

  • git diff --check passes.
  • The local server serves the updated CSS.

You can view, comment on, or merge this pull request online at:

  https://github.com/GrandComicsDatabase/gcd-django/pull/770

Commit Summary

  • 9c2e4b5 Keep editing form actions visible while scrolling

File Changes

(5 files)

Patch Links:

—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/770@github.com>

gemini-code-assist[bot]

unread,
Sep 23, 2026, 11:34:48 PM (9 days ago) Sep 23
to GrandComicsDatabase/gcd-django, Subscribed

@gemini-code-assist[bot] commented on this pull request.

Code Review

This pull request introduces a new .editing-actions CSS class to implement a sticky action bar at the bottom of various editing templates, ensuring that action buttons remain accessible while scrolling. The reviewer suggested improving the visual separation and UX by adding a top border, vertical padding, and adjusting the safe-area inset calculation to prevent content from blending into the sticky bar.


In static/css/input.css:

> +  .editing-actions {
+    position: sticky;
+    bottom: 0;
+    z-index: 50;
+    display: flex;
+    flex-wrap: wrap;
+    background: white;
+    padding-bottom: env(safe-area-inset-bottom);
+  }

medium

Without a top border or shadow, the sticky action bar blends directly into the form content scrolling underneath it, causing text to abruptly cut off and making the interface look unpolished. Additionally, adding some top and bottom padding ensures the buttons have adequate breathing room and don't sit too close to the edges of the sticky container.\n\nUsing a top border and vertical padding (with a calc fallback for the safe-area inset) will significantly improve the visual separation and overall UX.

  .editing-actions {\n    position: sticky;\n    bottom: 0;\n    z-index: 50;\n    display: flex;\n    flex-wrap: wrap;\n    background: white;\n    @apply border-t border-gray-200 pt-2 pb-2;\n    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));\n  }

—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/770/review/5299404394@github.com>

Simone Nardi

unread,
Sep 23, 2026, 11:46:06 PM (9 days ago) Sep 23
to GrandComicsDatabase/gcd-django, Push

@ProfNardi pushed 1 commit.

  • 4fa3c08 Add separation and spacing to sticky form actions

—
View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/770/before/9c2e4b59322ec4a4797f5355bbaf876979f10787/after/4fa3c08c7bc2821b40c896d58686cf04e73b6686@github.com>

Simone Nardi

unread,
Sep 23, 2026, 11:48:01 PM (9 days ago) Sep 23
to GrandComicsDatabase/gcd-django, Subscribed

@ProfNardi commented on this pull request.


In static/css/input.css:

> +  .editing-actions {
+    position: sticky;
+    bottom: 0;
+    z-index: 50;
+    display: flex;
+    flex-wrap: wrap;
+    background: white;
+    padding-bottom: env(safe-area-inset-bottom);
+  }

Implemented

—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/770/review/5299511037@github.com>

JochenGCD

unread,
Sep 25, 2026, 11:26:20 AM (7 days ago) Sep 25
to GrandComicsDatabase/gcd-django, Subscribed

@jochengcd commented on this pull request.


In static/css/output.css:

> +  position: sticky;
+  bottom: 0;
+  z-index: 50;
+  display: flex;
+  flex-wrap: wrap;
+  background: white;
+  border-top-width: 1px;
+  --tw-border-opacity: 1;
+  border-color: rgb(229 231 235 / var(--tw-border-opacity));
+  padding-top: 0.5rem;
+  padding-bottom: 0.5rem;
+  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));

This should be based on tailwind.

—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/770/review/5319478158@github.com>

Simone Nardi

unread,
Sep 25, 2026, 1:44:44 PM (7 days ago) Sep 25
to GrandComicsDatabase/gcd-django, Push

@ProfNardi pushed 1 commit.

  • 9d1b2df Use Tailwind utilities for sticky form actions

—
View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/770/before/4fa3c08c7bc2821b40c896d58686cf04e73b6686/after/9d1b2df6efd721e082ddbdf7353c818999ec8f20@github.com>

Simone Nardi

unread,
Sep 25, 2026, 1:46:29 PM (7 days ago) Sep 25
to GrandComicsDatabase/gcd-django, Subscribed

@ProfNardi commented on this pull request.


In static/css/output.css:

> +  position: sticky;
+  bottom: 0;
+  z-index: 50;
+  display: flex;
+  flex-wrap: wrap;
+  background: white;
+  border-top-width: 1px;
+  --tw-border-opacity: 1;
+  border-color: rgb(229 231 235 / var(--tw-border-opacity));
+  padding-top: 0.5rem;
+  padding-bottom: 0.5rem;
+  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));

Commit: 9d1b2df — Use Tailwind utilities for sticky form actions.

—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/770/review/5320794999@github.com>

Simone Nardi

unread,
Sep 28, 2026, 8:24:21 AM (4 days ago) Sep 28
to GrandComicsDatabase/gcd-django, Push

@ProfNardi pushed 1 commit.

  • bc24486 Merge beta into sticky form actions

—
View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/770/before/9d1b2df6efd721e082ddbdf7353c818999ec8f20/after/bc24486c49e8508d0c79dc8343a845d2bea0df98@github.com>

Simone Nardi

unread,
Sep 30, 2026, 11:13:53 AM (2 days ago) Sep 30
to GrandComicsDatabase/gcd-django, Push

@ProfNardi pushed 1 commit.

  • 1a8dd50 Merge beta into sticky form actions and preserve page-count validation

—
View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/pull/770/before/bc24486c49e8508d0c79dc8343a845d2bea0df98/after/1a8dd508a97c214a3dee61095a4258e9145f2643@github.com>

Reply all
Reply to author
Forward
0 new messages