Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: adjust template row alignment when missing description#16056

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
BrunoQuaresma merged 1 commit intomainfrombq/fix-no-template-description
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletionssite/src/components/Avatar/AvatarData.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -37,23 +37,10 @@ export const AvatarData: FC<AvatarDataProps> = ({
}

return (
<Stack
spacing={1}
direction="row"
css={{
minHeight: 40, // Make it predictable for the skeleton
width: "100%",
lineHeight: "150%",
}}
>
<Stack spacing={1} direction="row" className="w-full">
{avatar}

<Stack
spacing={0}
css={{
width: "100%",
}}
>
<Stack spacing={0} className="w-full">
<span
css={{
color: theme.palette.text.primary,
Expand Down
12 changes: 12 additions & 0 deletionssite/src/components/Avatar/AvatarDataSkeleton.stories.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
import type { Meta, StoryObj } from "@storybook/react";
import { AvatarDataSkeleton } from "./AvatarDataSkeleton";

const meta: Meta<typeof AvatarDataSkeleton> = {
title: "components/AvatarDataSkeleton",
component: AvatarDataSkeleton,
};

export default meta;
type Story = StoryObj<typeof AvatarDataSkeleton>;

export const Default: Story = {};
4 changes: 2 additions & 2 deletionssite/src/components/Avatar/AvatarDataSkeleton.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,8 +4,8 @@ import type { FC } from "react";

export const AvatarDataSkeleton: FC = () => {
return (
<Stack spacing={1.5} direction="row"alignItems="center">
<Skeleton variant="circular" width={36} height={36} />
<Stack spacing={1} direction="row"className="w-full">
<Skeleton variant="rectangular" className="size-6 rounded-sm" />

<Stack spacing={0}>
<Skeleton variant="text" width={100} />
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp