Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(today): tighten the today home and report in narrow scenes (#111209)

Shy Alter49602010c63c
diff --git a/frontend/src/scenes/project-homepage/today/Today.scss b/frontend/src/scenes/project-homepage/today/Today.scss
index 1a6f01e80f7d..4209b04b70dc 100644
--- a/frontend/src/scenes/project-homepage/today/Today.scss
+++ b/frontend/src/scenes/project-homepage/today/Today.scss
@@ -222,14 +222,26 @@
@container main-content (max-width: 900px) {
width: min(100% - 72px, 700px);
}
+
+ @container main-content (max-width: 600px) {
+ width: calc(100% - 40px);
+ }
}
.TodayHome {
padding: 94px 0 140px;
+
+ @container main-content (max-width: 600px) {
+ padding: 20px 0 64px;
+ }
}
.TodayReport {
padding: 56px 0 140px;
+
+ @container main-content (max-width: 600px) {
+ padding: 12px 0 64px;
+ }
}
.TodayHome__meta {
@@ -241,6 +253,7 @@
time {
font-variant-numeric: tabular-nums;
color: var(--today-ink);
+ white-space: nowrap;
}
}
@@ -541,6 +554,16 @@
}
}
+@container main-content (max-width: 600px) {
+ .TodayHome__intro {
+ margin-top: 32px;
+ }
+
+ .TodayAsk {
+ margin-top: 40px;
+ }
+}
+
@media (prefers-reduced-motion: reduce) {
.Today *,
.Today *::before,