From 22c39f16f11a443f74947cfb4a5c705458f5bc3f Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 26 Apr 2026 04:14:46 +0100 Subject: [PATCH] Reposition header GitHub link --- src/repixelizer/gui_static/index.html | 42 ++++++++++++--------------- src/repixelizer/gui_static/styles.css | 26 +++++------------ 2 files changed, 26 insertions(+), 42 deletions(-) diff --git a/src/repixelizer/gui_static/index.html b/src/repixelizer/gui_static/index.html index 6aa40ee..769969a 100644 --- a/src/repixelizer/gui_static/index.html +++ b/src/repixelizer/gui_static/index.html @@ -23,29 +23,25 @@ -
- -
-

How To Use It

-

1. Drop an input on the right or choose a file.

-

2. Leave size and phase blank to let the machine search, or pin them if you already know the lattice.

-

3. Run it, watch the status panel for the active stage, then patch the output by hand if the machine gets cute.

-
+ + + +
+

How To Use It

+

1. Drop an input on the right or choose a file.

+

2. Leave size and phase blank to let the machine search, or pin them if you already know the lattice.

+

3. Run it, watch the status panel for the active stage, then patch the output by hand if the machine gets cute.

diff --git a/src/repixelizer/gui_static/styles.css b/src/repixelizer/gui_static/styles.css index 5a57e50..c40e30c 100644 --- a/src/repixelizer/gui_static/styles.css +++ b/src/repixelizer/gui_static/styles.css @@ -288,8 +288,6 @@ p { .brand, .brand-lockup, .copy-stack, -.header-side, -.header-link-row, .header-instructions { display: grid; gap: 10px; @@ -334,21 +332,9 @@ p { .app-shell-header { display: grid; - grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr); + grid-template-columns: minmax(0, 1.35fr) auto minmax(280px, 0.9fr); gap: 16px; - align-items: start; -} - -.header-side { - align-content: start; - min-width: 0; -} - -.header-link-row { - display: flex; - justify-content: flex-end; - align-items: flex-start; - min-height: 88px; + align-items: center; } .header-github-link { @@ -362,6 +348,8 @@ p { text-decoration: none; line-height: 0; flex: 0 0 auto; + justify-self: center; + align-self: center; } .header-github-link svg { @@ -388,6 +376,7 @@ p { .header-instructions { align-content: start; + min-width: 0; padding: 12px 14px; border: 3px solid rgba(8, 36, 62, 0.88); background: @@ -1061,9 +1050,8 @@ select:focus-visible { align-items: flex-start; } - .header-link-row { - justify-content: flex-start; - min-height: 0; + .header-github-link { + justify-self: start; } .brand-lockup {