Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: centralise image and icon for smaller screens #2966

Merged
merged 1 commit into from
Dec 27, 2023
Merged
Changes from all 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
6 changes: 4 additions & 2 deletions src/app/components/ConnectorPath/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ type Props = {
function ConnectorPath({ title, icon, description, content, actions }: Props) {
return (
<div className="flex flex-col p-10 border border-neutral-200 dark:border-neutral-700 rounded-2xl bg-white dark:bg-surface-02dp">
<div className="flex flex-row items-center mb-4 space-x-3">
<div className="flex flex-col sm:flex-row items-center mb-4 space-x-3">
{icon}
<h1 className="text-xl font-bold dark:text-white">{title}</h1>
<h1 className="text-xl font-bold dark:text-white text-center">
{title}
</h1>
</div>
<p className="text-gray-800 dark:text-neutral-200 mb-6">{description}</p>
<div className="flex flex-col space-y-4 text-sm mb-8 dark:text-white">
Expand Down
Loading