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.2 on 2026-11-27T17:15:58Z · commit 65bd6c9

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 #
......@@ -458,7 +458,7 @@ li.MuiListSubheader-root {
458458 z-index: -1;
459459 pointer-events: none;
460460 width: 50vh;
461- max-width: 100%;
461+ max-width: 80%;
462462 background: linear-gradient(135deg, var(--gloop-start), var(--gloop-end));
463463 mask: var(--gloop-mask) center / contain no-repeat;
464464 }
......@@ -1059,6 +1059,10 @@ li.MuiListSubheader-root {
10591059 min-height: 1.5em;
10601060 }
10611061
1062+.cs-sidebar--left .cs-conversation > .cs-avatar {
1063+ align-self: center;
1064+}
1065+
10621066 div.cs-message__content {
10631067 white-space: normal;
10641068 white-space-collapse: preserve-spaces;
......@@ -1254,7 +1258,11 @@ div.cs-message__content {
12541258 }
12551259
12561260 .cs-conversation-header {
1257- .cs-conversation-header__avatar,
1261+ .cs-conversation-header__avatar {
1262+ align-self: center;
1263+ margin-block: 0;
1264+ }
1265+
12581266 .cs-conversation-header__actions,
12591267 .cs-conversation-header__back {
12601268 margin-top: 0.2em;
......@@ -2140,6 +2148,8 @@ button.MuiFab-root {
21402148 }
21412149 }
21422150
2151+$mobile-sidebar-avatar-size: 2rem;
2152+
21432153 @media (max-width: 576px) {
21442154 .cs-main-container {
21452155 --chat-avatar-size: 28px;
......@@ -2150,6 +2160,31 @@ button.MuiFab-root {
21502160 min-width: var(--chat-avatar-size);
21512161 min-height: var(--chat-avatar-size);
21522162 }
2163+
2164+ .cs-conversation-header__avatar {
2165+ flex: none;
2166+ width: var(--chat-avatar-size);
2167+ height: var(--chat-avatar-size);
2168+ margin-right: 0.5em;
2169+ }
2170+ }
2171+
2172+ .cs-conversation {
2173+ padding: 0.4em 0.5em;
2174+ }
2175+
2176+ .cs-main-container .cs-sidebar--left .cs-conversation > .cs-avatar,
2177+ #account-nav > a .cs-avatar,
2178+ #account-nav .account-nav-group > a .cs-avatar {
2179+ width: $mobile-sidebar-avatar-size;
2180+ height: $mobile-sidebar-avatar-size;
2181+ min-width: $mobile-sidebar-avatar-size;
2182+ min-height: $mobile-sidebar-avatar-size;
2183+ }
2184+
2185+ .cs-main-container .cs-sidebar--left .cs-conversation > .cs-avatar {
2186+ flex: none;
2187+ margin-right: 0.5em;
21532188 }
21542189
21552190 .cs-main-container--responsive {
......@@ -2266,8 +2301,9 @@ main:has(> .cs-main-container.tauri) {
22662301 }
22672302
22682303 #account-nav {
2269- flex: 0 0 5.5em;
2270- width: 5.5em;
2304+ --account-nav-width: 5.5em;
2305+ flex: 0 0 var(--account-nav-width);
2306+ width: var(--account-nav-width);
22712307 padding-block: 0.35em;
22722308 isolation: isolate;
22732309 overflow: hidden;
......@@ -2301,7 +2337,7 @@ main:has(> .cs-main-container.tauri) {
23012337 svg {
23022338 display: block;
23032339 margin: auto;
2304- height: 1.5em;
2340+ height: var(--account-nav-icon-height, 1.5em);
23052341 width: auto;
23062342 padding: 0.5em 0;
23072343 box-sizing: content-box;
......@@ -2311,13 +2347,17 @@ main:has(> .cs-main-container.tauri) {
23112347 }
23122348
23132349 &:has(~ .label) {
2314- height: 1.3em;
2350+ height: var(--account-nav-icon-height, 1.3em);
23152351 }
23162352 }
23172353
23182354 > .label {
23192355 font-size: 0.7em;
23202356 text-align: center;
2357+
2358+ @media (max-width: 576px) {
2359+ display: none;
2360+ }
23212361 }
23222362
23232363 &[href="/settings"] {
......@@ -2329,6 +2369,10 @@ main:has(> .cs-main-container.tauri) {
23292369
23302370 .account-nav-group > a {
23312371 margin: 0 0.35em;
2372+
2373+ @media (max-width: 576px) {
2374+ padding: 0.3em 0;
2375+ }
23322376 }
23332377
23342378 .account-nav-group .cs-avatar {
......@@ -2382,6 +2426,11 @@ main:has(> .cs-main-container.tauri) {
23822426 pointer-events: none;
23832427 }
23842428 }
2429+
2430+ @media (max-width: 576px) {
2431+ --account-nav-width: 3.8em;
2432+ --account-nav-icon-height: 1.2em;
2433+ }
23852434 }
23862435
23872436 @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