Skip to content

Commit 97672e3

Browse files
authored
Fixed direct links styling on medium screen sized (#10800)
1 parent 7c3b707 commit 97672e3

File tree

1 file changed

+48
-18
lines changed

1 file changed

+48
-18
lines changed

src/components/home.tsx

Lines changed: 48 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -71,54 +71,84 @@ export async function Home() {
7171
</div>
7272
</Link>
7373
<Link href="/organization" className="w-full md:w-[calc(50%-12px)]">
74-
<div className="flex flex-col md:flex-row shadow p-6 rounded gap-4">
75-
<Image src={OrganizationImage} height={64} alt="Organization image" />
76-
<div className="space-y-2">
74+
<div className="flex flex-col md:flex-row shadow p-6 rounded gap-4 h-full">
75+
<Image
76+
src={OrganizationImage}
77+
height={64}
78+
alt="Organization image"
79+
className="object-contain"
80+
/>
81+
<div className="flex flex-col justify-center space-y-2">
7782
<h3 className="text-xl font-medium">Organization settings</h3>
7883
<p>Information for setting up your organization’s Sentry account.</p>
7984
</div>
8085
</div>
8186
</Link>
8287
<Link href="/pricing" className="w-full md:w-[calc(50%-12px)]">
83-
<div className="flex flex-col md:flex-row shadow p-6 rounded gap-4">
84-
<Image src={CalculatorImage} height={64} alt="Calculator image" />
85-
<div className="space-y-2">
88+
<div className="flex flex-col md:flex-row shadow p-6 rounded gap-4 h-full">
89+
<Image
90+
src={CalculatorImage}
91+
height={64}
92+
alt="Calculator image"
93+
className="object-contain"
94+
/>
95+
<div className="flex flex-col justify-center space-y-2">
8696
<h3 className="text-xl font-medium">Pricing & Billing</h3>
8797
<p>All about our pricing and billing structure.</p>
8898
</div>
8999
</div>
90100
</Link>
91101
<Link href="/api" className="w-full md:w-[calc(50%-12px)]">
92-
<div className="flex flex-col md:flex-row shadow p-6 rounded gap-4">
93-
<Image src={PlugImage} height={64} alt="Plug image" />
94-
<div className="space-y-2">
102+
<div className="flex flex-col md:flex-row shadow p-6 rounded gap-4 h-full">
103+
<Image
104+
src={PlugImage}
105+
height={64}
106+
alt="Plug image"
107+
className="object-contain"
108+
/>
109+
<div className="flex flex-col justify-center space-y-2">
95110
<h3 className="text-xl font-medium">API</h3>
96111
<p>APIs for accessing Sentry programmatically.</p>
97112
</div>
98113
</div>
99114
</Link>
100115
<Link href="/cli" className="w-full md:w-[calc(50%-12px)]">
101-
<div className="flex flex-col md:flex-row shadow p-6 rounded gap-4">
102-
<Image src={TerminalImage} height={64} alt="Terminal image" />
103-
<div className="space-y-2">
116+
<div className="flex flex-col md:flex-row shadow p-6 rounded gap-4 h-full">
117+
<Image
118+
src={TerminalImage}
119+
height={64}
120+
alt="Terminal image"
121+
className="object-contain"
122+
/>
123+
<div className="flex flex-col justify-center space-y-2">
104124
<h3 className="text-xl font-medium">CLI</h3>
105125
<p>How to use ‘sentry-cli’ on the command line.</p>
106126
</div>
107127
</div>
108128
</Link>
109129
<Link href="/security-legal-pii" className="w-full md:w-[calc(50%-12px)]">
110-
<div className="flex flex-col md:flex-row shadow p-6 rounded gap-4">
111-
<Image src={SecurityImage} height={64} alt="Stamped paper image" />
112-
<div className="space-y-2">
130+
<div className="flex flex-col md:flex-row shadow p-6 rounded gap-4 h-full">
131+
<Image
132+
src={SecurityImage}
133+
height={64}
134+
alt="Stamped paper image"
135+
className="object-contain"
136+
/>
137+
<div className="flex flex-col justify-center space-y-2">
113138
<h3 className="text-xl font-medium">Security, Legal & PII</h3>
114139
<p>Security, compliance, and data-scrubbing processes.</p>
115140
</div>
116141
</div>
117142
</Link>
118143
<Link href="/concepts" className="w-full md:w-[calc(50%-12px)]">
119-
<div className="flex flex-col md:flex-row shadow p-6 rounded gap-4">
120-
<Image src={ConceptsImage} height={64} alt="Concept and references image" />
121-
<div className="space-y-2">
144+
<div className="flex flex-col md:flex-row shadow p-6 rounded gap-4 h-full">
145+
<Image
146+
src={ConceptsImage}
147+
height={64}
148+
alt="Concept and references image"
149+
className="object-contain"
150+
/>
151+
<div className="flex flex-col justify-center space-y-2">
122152
<h3 className="text-xl font-medium">Concepts & Reference</h3>
123153
<p>Core concepts that make Sentry, Sentry.</p>
124154
</div>

0 commit comments

Comments
 (0)