commit aa6aaf3fff98dbdae5f5d98ed90b593e50ada261
parent d68866e92fd9f7c3aaca20d3389adcaf6b53bd8f
Author: finwo <finwo@pm.me>
Date: Fri, 13 Nov 2026 22:45:03 +0100
css: restore capped reading column, inline danger class on account (T4b)
Diffstat:
4 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/app/account/src/screen/apps.tsx b/app/account/src/screen/apps.tsx
@@ -10,7 +10,7 @@ export const AppsPage: m.Component = {
subtitle="Applications with access to this account."
/>
- <div class="stack">
+ <div class="stack reading-column">
<section class="panel">
<h2>Authorized apps</h2>
<p class="note">App permission management arrives in a later slice.</p>
diff --git a/app/account/src/screen/overview.tsx b/app/account/src/screen/overview.tsx
@@ -198,7 +198,7 @@ export const ClientOverviewPage: m.Component<ClientOverviewAttrs> = {
</p>
{consent?.active ? (
<button
- class="button-inline button-inline-danger"
+ class="button-inline button-danger"
type="button"
disabled={revokePending}
onclick={onRevoke}
diff --git a/app/account/src/screen/security.tsx b/app/account/src/screen/security.tsx
@@ -21,7 +21,7 @@ export const SecurityPage: m.Component = {
subtitle="Manage how you sign in and where this account is active."
/>
- <div class="stack">
+ <div class="stack reading-column">
<section class="panel">
{PanelHeading(KeyRound, 'Password')}
<p class="note">Password management arrives in a later slice.</p>
diff --git a/app/account/src/style/account.css b/app/account/src/style/account.css
@@ -6,6 +6,13 @@
gap: var(--space-4);
}
+ /* stacked pages: capped reading column, full width on small screens */
+ .reading-column {
+ width: 100%;
+ max-width: 56rem;
+ margin-inline: auto;
+ }
+
/* manage rows: framework .card supplies surface, padding, shadow */
.summary-row {
display: grid;