OXYGENHUB

Keep a proposal's conversation and sidebar together on wide screens 9198231cee96

The proposal page is full width for its diffs, so on the conversation tab
the text column and the sidebar drifted apart, with the description and
comment form at their own narrow widths. The conversation is now at most
1240px wide and its description, comments and forms fill their column.

closes #46
Author
Andy McCall @andymccall <[email protected]>
When
· 2026-09-29 15:54 UTC
Signature
✔ signed by Andy McCall
Hash
9198231cee969dd97ab9fedd7ecc4f58ef4e5c999c430cfa191ac27c02a2d639
Depends on
d23464c0ac60 de505df5cf8d
Depended on by
26d0d091deb7 7f283f8e8b97 c9aacc0e7dc1 a1b9869565aa
In bookmarks
api-unknown-fields cancel-landed-runs clear-waiting close-proposal-140 diffusion-pin-bookmark draft-ready image-check job-waits main oh-comment-body-file proposal-list-fast run-one-job wiki-says-so
In tags
v0.1.0 v0.2.0 v0.3.0 v0.3.1 v0.4.0 v0.4.1 v0.4.2 v0.5.0 v0.5.1 v0.5.2 v0.6.0 v0.6.1 v0.7.0 v0.8.0 v0.9.0 v0.9.1 v0.9.11 v0.9.15 v0.9.16 v0.9.19 v0.9.2 v0.9.20 v0.9.21 v0.9.22 v0.9.23 v0.9.24 v0.9.3 v0.9.4 v0.9.5 v0.9.6 v0.9.7 v0.9.8 v0.9.9
Edits
3 atoms, 0 tree operations, 2 files

Browse the tree at this change

modified templates/proposal.html +1 −1
…
68 unchanged lines
69 69
{% endif %}
70 70
71 71
{% else %}
72 -
<div class="side-layout">
72 +
<div class="side-layout conversation">
73 73
<div>
74 74
  {% if !p.body.is_empty() %}<article class="doc">{{ body_html|safe }}</article>{% endif %}
75 75
  {% for c in comments %}{% if c.row.anchor_change.is_empty() %}
…
67 unchanged lines
modified templates/style.css +7 −0
…
132 unchanged lines
133 133
134 134
/* repository layout */
135 135
.side-layout { display: grid; grid-template-columns: 1fr 280px; gap: 22px; }
136 +
/* A proposal's conversation: the page is wide for its diffs, but text and
137 +
   the sidebar stay together at a readable width, and the description,
138 +
   comments and forms fill their column. */
139 +
.side-layout.conversation { max-width: 1240px; }
140 +
.side-layout.conversation > div > article.doc,
141 +
.side-layout.conversation > div > form.card,
142 +
.side-layout.conversation > div > .comment { max-width: none; box-sizing: border-box; }
136 143
.side h3:first-child { margin-top: 0; }
137 144
.clone { display: flex; gap: 6px; align-items: center; }
138 145
.clone code { background: var(--bg); border: 1px solid var(--line); padding: 4px 8px; flex: 1; overflow-x: auto; white-space: nowrap; }
…
132 unchanged lines