diff --git a/src/index.css b/src/index.css index 3e852e4..0b1fed2 100644 --- a/src/index.css +++ b/src/index.css @@ -1436,9 +1436,31 @@ details[open] > .untangled-language-bar { } @media (min-width: 768px) and (max-width: 1023px) { + .untangled-home-workspace { + padding-left: 1.5rem; + padding-right: 1.5rem; + } + + .untangled-home-below { + padding-left: 1.5rem; + padding-right: 1.5rem; + } + .untangled-home-announcements-grid { grid-template-columns: repeat(2, 1fr); } + + .untangled-home-promos-column { + position: relative; + z-index: 20; + background: rgb(248 250 252); + } +} + +@media (min-width: 768px) and (max-width: 1023px) and (prefers-color-scheme: dark) { + .untangled-home-promos-column { + background: rgb(15 23 42); + } } /* Vouch Card styles */ @@ -1863,6 +1885,17 @@ details[open] > .untangled-language-bar { } } +@media (min-width: 768px) { + .untangled-home-lower-right { + align-self: stretch; + } + + .untangled-home-sticky-wrapper { + position: sticky; + top: 0; + } +} + .untangled-safe-footer { padding-bottom: env(safe-area-inset-bottom); } diff --git a/src/pages/home.tsx b/src/pages/home.tsx index a3684bf..43cfd4e 100644 --- a/src/pages/home.tsx +++ b/src/pages/home.tsx @@ -613,83 +613,85 @@ export const HomePage: Component = () => { @@ -744,18 +746,18 @@ const ActivityRow: Component<{ item: HomeActivityItem; index: number }> = (props
{/* Header row */} -
+
- + {props.item.actorHandle || 'user'} - {actionText()} - + {actionText()} + {props.item.repoLabel} - + {formatRelativeTime(props.item.at)}