mirror of
https://github.com/block/buzz.git
synced 2026-10-29 05:21:31 +00:00
fix(market): align board with timeline gutter
Signed-off-by: Wintermute <c0fc581234c3585602139eec347ced7b82af65b6f6c10728348515c0c06c51c3@buzz.block.builderlab.xyz>
This commit is contained in:
@@ -60,7 +60,7 @@ test("the market board follows the header and avatar gutter", () => {
|
||||
);
|
||||
const className = html.match(/<div class="([^"]+)"/)?.[1] ?? "";
|
||||
|
||||
assert.match(className, /(?:^|\s)mx-1(?:\s|$)/);
|
||||
assert.match(className, /(?:^|\s)mx-4(?:\s|$)/);
|
||||
});
|
||||
|
||||
test("the contract card leaves horizontal alignment to the board", () => {
|
||||
|
||||
@@ -16,7 +16,7 @@ import type { UserProfileLookup } from "@/features/profile/lib/identity";
|
||||
import { Button } from "@/shared/ui/button";
|
||||
import { UserAvatar } from "@/shared/ui/UserAvatar";
|
||||
|
||||
const MARKET_BOARD_GUTTER_CLASS = "mx-1";
|
||||
const MARKET_BOARD_GUTTER_CLASS = "mx-4";
|
||||
|
||||
/** Aligns the market board with the channel header and timeline avatars. */
|
||||
export function MarketBoardLayout({ children }: { children: React.ReactNode }) {
|
||||
|
||||
Reference in New Issue
Block a user