diff options
| author | grm <grm@eyesin.space> | 2026-09-13 00:45:06 +0300 |
|---|---|---|
| committer | grm <grm@eyesin.space> | 2026-09-13 00:45:06 +0300 |
| commit | e671381121a63422f0cf4d5b0842f80109a12d20 (patch) | |
| tree | 9c6d218ea58930fecdd9520beb48b5afad9642e1 /internal/web/templates/dashboard/layout.html | |
| parent | d11e4c9544f544b3a024c7ac705a674b4096cf50 (diff) | |
| download | blogspace-e671381121a63422f0cf4d5b0842f80109a12d20.tar.gz blogspace-e671381121a63422f0cf4d5b0842f80109a12d20.tar.bz2 blogspace-e671381121a63422f0cf4d5b0842f80109a12d20.zip | |
Drop the content width option: the page is always full width
With the column grid, a centred max-width box meant the main content did
not fill the page when no side columns were shown. The column
percentages now divide the whole page; a blogger who wants a narrower,
centred main column keeps the columns' space instead.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A
Diffstat (limited to 'internal/web/templates/dashboard/layout.html')
| -rw-r--r-- | internal/web/templates/dashboard/layout.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/web/templates/dashboard/layout.html b/internal/web/templates/dashboard/layout.html index 7691b1e..229ca0e 100644 --- a/internal/web/templates/dashboard/layout.html +++ b/internal/web/templates/dashboard/layout.html @@ -25,8 +25,8 @@ <label>Left column width<br><input type="number" name="left_width" value="{{$t.LeftWidth}}" min="15" max="40" step="5"> %</label> <label>Right column width<br><input type="number" name="right_width" value="{{$t.RightWidth}}" min="15" max="40" step="5"> %</label> </div> - <p class="muted small">Between 15% and 40% each; the main content takes the rest. A column only appears when it has at least one module; as soon as one does, the blog spreads over the whole page. On phones the columns stack: main content first, then the left and right columns, then the footer.</p> - <label class="check"><input type="checkbox" name="keep_columns"{{if $t.KeepColumns}} checked{{end}}> Always keep the columns' space, even when a column is empty or hidden <span class="muted">(the main content then has the same width on every page)</span></label> + <p class="muted small">Between 15% and 40% each; the main content takes the rest. A column only appears when it has at least one module; without columns the posts take the whole width. On phones the columns stack: main content first, then the left and right columns, then the footer.</p> + <label class="check"><input type="checkbox" name="keep_columns"{{if $t.KeepColumns}} checked{{end}}> Always keep the columns' space, even when a column is empty or hidden <span class="muted">(the main content then keeps its width and stays centred)</span></label> <p class="actionrow"><button type="submit">Save columns</button></p> </form> </div> |
