Skip to content

Commit

Permalink
Merge pull request #2966 from getAlby/onboard-ui
Browse files Browse the repository at this point in the history
feat: centralise image and icon for smaller screens
  • Loading branch information
bumi authored Dec 27, 2023
2 parents e31ad57 + d18974e commit d533b7b
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit d533b7b

Please sign in to comment.