Merge branch 'main' into terry-wallet-login
Some checks failed
Deploy Staging (terry-wallet-login) / deploy (push) Failing after 31s
Some checks failed
Deploy Staging (terry-wallet-login) / deploy (push) Failing after 31s
# Conflicts: # src/components/messageStream/MessageStream.tsx
This commit is contained in:
@@ -336,7 +336,14 @@ export function PublicLayout() {
|
||||
});
|
||||
}
|
||||
};
|
||||
const footerInContentFlow = stripLangPrefix(pathname) === "/browse";
|
||||
// Routes that render a full-bleed asset stream and manage their own inner
|
||||
// width / padding via `MessageStream`. Both 全部资料 (/browse) and the
|
||||
// per-category view (/category/<slug>) reuse the same component, so they
|
||||
// need the same zero outer padding here — otherwise the category page's
|
||||
// bubbles render narrower than the all-resources page.
|
||||
const strippedPath = stripLangPrefix(pathname);
|
||||
const footerInContentFlow =
|
||||
strippedPath === "/browse" || strippedPath.startsWith("/category/");
|
||||
// Current page name shown in the header brand slot (falls back to the brand).
|
||||
const pageTitle = usePageTitle();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user