cheogram-www

created pr with cheogram-www/more-style-tweaks.1 on 2026-11-27T17:09:43Z · by 3c31bc8c
commented on 2026-11-27T17:09:43Z · by 3c31bc8c
Changes are available at https://tangled.org/mrry.band/cheogram-www more-style-tweaks
commented on 2026-11-27T17:10:24Z · by 3c31bc8c
Based on the link-previews branch (https://pr.pico.sh/cheogram-www/link-previews)
added cheogram-www/more-style-tweaks.2 on 2026-11-27T17:15:58Z · by 3c31bc8c
1: 0afbc05 ! 1: c4819b3 Add a light background for light mode, with blur
2: a4d26da = 2: 65bd6c9 Design refresh tweaks for mobile
3: fd69e55 = 3: 01373fa Make sure don't have an account link looks right
cmds
checkout latest patchset:
ssh pr.pico.sh pull cheogram-www:more-style-tweaks | git am -3
checkout specific patchset revision:
ssh pr.pico.sh pull cheogram-www:more-style-tweaks [rev] | git am -3
add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh cheogram-www:more-style-tweaks
add comment to patch request:
ssh pr.pico.sh comment cheogram-www:more-style-tweaks "lgtm!"

Patchset cheogram-www/more-style-tweaks.1 on 2026-11-27T17:09:43Z · commit a4d26da

Design refresh tweaks for mobile
Eric Roberts 2026-11-27T16:38:04Z
- smaller sidebar, removing labels, reducing padding
- chat list padding reduced to show more
- avatar size reduced in sidebar, kept consistent with chat list
- avaters vertically centered in chat list and chat headers (applies
  everywhere, it just wasn't noticeable before)
Diff stat
src/App.scss | 61 +++++++++++++++++++++++++++---
3 files changed, 63 insertions(+), 9 deletions(-)
Semantic diff summary
0 added, 0 modified, 0 signature changed, 0 removed across 1 analyzed file (2 files skipped: unsupported file type)
+55 -6 src/App.scss #
......@@ -460,7 +460,7 @@ li.MuiListSubheader-root {
460460 z-index: -1;
461461 pointer-events: none;
462462 width: 50vh;
463- max-width: 100%;
463+ max-width: 80%;
464464 background: linear-gradient(135deg, var(--gloop-start), var(--gloop-end));
465465 mask: var(--gloop-mask) center / contain no-repeat;
466466 }
......@@ -1061,6 +1061,10 @@ li.MuiListSubheader-root {
10611061 min-height: 1.5em;
10621062 }
10631063
1064+.cs-sidebar--left .cs-conversation > .cs-avatar {
1065+ align-self: center;
1066+}
1067+
10641068 div.cs-message__content {
10651069 white-space: normal;
10661070 white-space-collapse: preserve-spaces;
......@@ -1256,7 +1260,11 @@ div.cs-message__content {
12561260 }
12571261
12581262 .cs-conversation-header {
1259- .cs-conversation-header__avatar,
1263+ .cs-conversation-header__avatar {
1264+ align-self: center;
1265+ margin-block: 0;
1266+ }
1267+
12601268 .cs-conversation-header__actions,
12611269 .cs-conversation-header__back {
12621270 margin-top: 0.2em;
......@@ -2142,6 +2150,8 @@ button.MuiFab-root {
21422150 }
21432151 }
21442152
2153+$mobile-sidebar-avatar-size: 2rem;
2154+
21452155 @media (max-width: 576px) {
21462156 .cs-main-container {
21472157 --chat-avatar-size: 28px;
......@@ -2152,6 +2162,31 @@ button.MuiFab-root {
21522162 min-width: var(--chat-avatar-size);
21532163 min-height: var(--chat-avatar-size);
21542164 }
2165+
2166+ .cs-conversation-header__avatar {
2167+ flex: none;
2168+ width: var(--chat-avatar-size);
2169+ height: var(--chat-avatar-size);
2170+ margin-right: 0.5em;
2171+ }
2172+ }
2173+
2174+ .cs-conversation {
2175+ padding: 0.4em 0.5em;
2176+ }
2177+
2178+ .cs-main-container .cs-sidebar--left .cs-conversation > .cs-avatar,
2179+ #account-nav > a .cs-avatar,
2180+ #account-nav .account-nav-group > a .cs-avatar {
2181+ width: $mobile-sidebar-avatar-size;
2182+ height: $mobile-sidebar-avatar-size;
2183+ min-width: $mobile-sidebar-avatar-size;
2184+ min-height: $mobile-sidebar-avatar-size;
2185+ }
2186+
2187+ .cs-main-container .cs-sidebar--left .cs-conversation > .cs-avatar {
2188+ flex: none;
2189+ margin-right: 0.5em;
21552190 }
21562191
21572192 .cs-main-container--responsive {
......@@ -2268,8 +2303,9 @@ main:has(> .cs-main-container.tauri) {
22682303 }
22692304
22702305 #account-nav {
2271- flex: 0 0 5.5em;
2272- width: 5.5em;
2306+ --account-nav-width: 5.5em;
2307+ flex: 0 0 var(--account-nav-width);
2308+ width: var(--account-nav-width);
22732309 padding-block: 0.35em;
22742310 isolation: isolate;
22752311 overflow: hidden;
......@@ -2303,7 +2339,7 @@ main:has(> .cs-main-container.tauri) {
23032339 svg {
23042340 display: block;
23052341 margin: auto;
2306- height: 1.5em;
2342+ height: var(--account-nav-icon-height, 1.5em);
23072343 width: auto;
23082344 padding: 0.5em 0;
23092345 box-sizing: content-box;
......@@ -2313,13 +2349,17 @@ main:has(> .cs-main-container.tauri) {
23132349 }
23142350
23152351 &:has(~ .label) {
2316- height: 1.3em;
2352+ height: var(--account-nav-icon-height, 1.3em);
23172353 }
23182354 }
23192355
23202356 > .label {
23212357 font-size: 0.7em;
23222358 text-align: center;
2359+
2360+ @media (max-width: 576px) {
2361+ display: none;
2362+ }
23232363 }
23242364
23252365 &[href="/settings"] {
......@@ -2331,6 +2371,10 @@ main:has(> .cs-main-container.tauri) {
23312371
23322372 .account-nav-group > a {
23332373 margin: 0 0.35em;
2374+
2375+ @media (max-width: 576px) {
2376+ padding: 0.3em 0;
2377+ }
23342378 }
23352379
23362380 .account-nav-group .cs-avatar {
......@@ -2384,6 +2428,11 @@ main:has(> .cs-main-container.tauri) {
23842428 pointer-events: none;
23852429 }
23862430 }
2431+
2432+ @media (max-width: 576px) {
2433+ --account-nav-width: 3.8em;
2434+ --account-nav-icon-height: 1.2em;
2435+ }
23872436 }
23882437
23892438 @keyframes call-indicator-pulse {
+2 -2 src/bootstrap.scss #
......@@ -11,8 +11,8 @@
1111 font-family: system-ui;
1212 text-align: center;
1313 background:
14- url(/gloop01.svg) top left / min(50vh, 100vw) auto no-repeat,
15- url(/gloop02.svg) bottom right / min(50vh, 100vw) auto no-repeat,
14+ url(/gloop01.svg) top left / min(50vh, 80%) auto no-repeat,
15+ url(/gloop02.svg) bottom right / min(50vh, 80%) auto no-repeat,
1616 #7401cf;
1717 color: white;
1818
+6 -1 src/components/Accounts.tsx #
......@@ -265,6 +265,7 @@ export const Accounts = () => {
265265 {params.accountId === accountId &&
266266 (isMobile || anyApps || anyInvites) && (
267267 <NavLink
268+ aria-label="Messages"
268269 to={href("/accounts/:accountId/chats", { accountId })}
269270 >
270271 <FontAwesomeIcon icon={faMessage} />
......@@ -272,13 +273,17 @@ export const Accounts = () => {
272273 </NavLink>
273274 )}
274275 {params.accountId === accountId && anyApps && (
275- <NavLink to={href("/accounts/:accountId/apps", { accountId })}>
276+ <NavLink
277+ aria-label="Apps"
278+ to={href("/accounts/:accountId/apps", { accountId })}
279+ >
276280 <AppsIcon />
277281 <div className="label">Apps</div>
278282 </NavLink>
279283 )}
280284 {params.accountId === accountId && anyInvites && (
281285 <NavLink
286+ aria-label="Requests"
282287 to={href("/accounts/:accountId/requests", { accountId })}
283288 >
284289 <FontAwesomeIcon icon={faUserPlus} />
Back to top