Skip to content

Commit 39d766d

Browse files
EkkoKojuliusmarmingec-ehrlich
authored
fix(t3-app): resolve target area of Documentation links in TechnologyCard (#510)
* Made a tag clickable only on clicking on the text * Update with-trpc-tw.tsx * Update with-auth-trpc-tw.tsx * Create young-pears-wonder.md * prettier Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: Christopher Ehrlich <[email protected]> Co-authored-by: ekkoko <[email protected]>
1 parent cdcd391 commit 39d766d

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.changeset/young-pears-wonder.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-t3-app": patch
3+
---
4+
5+
fix: resolve target area of `Documentation` links in TechnologyCard

cli/template/page-studs/index/with-auth-trpc-tw.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const TechnologyCard = ({
103103
<h2 className="text-lg text-gray-700">{name}</h2>
104104
<p className="text-sm text-gray-600">{description}</p>
105105
<a
106-
className="mt-3 text-sm text-violet-500 underline decoration-dotted underline-offset-2"
106+
className="m-auto mt-3 w-fit text-sm text-violet-500 underline decoration-dotted underline-offset-2"
107107
href={documentation}
108108
target="_blank"
109109
rel="noreferrer"

cli/template/page-studs/index/with-trpc-tw.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const TechnologyCard = ({
7676
<h2 className="text-lg text-gray-700">{name}</h2>
7777
<p className="text-sm text-gray-600">{description}</p>
7878
<a
79-
className="mt-3 text-sm text-violet-500 underline decoration-dotted underline-offset-2"
79+
className="m-auto mt-3 w-fit text-sm text-violet-500 underline decoration-dotted underline-offset-2"
8080
href={documentation}
8181
target="_blank"
8282
rel="noreferrer"

cli/template/page-studs/index/with-tw.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const TechnologyCard = ({
7070
<h2 className="text-lg text-gray-700">{name}</h2>
7171
<p className="text-sm text-gray-600">{description}</p>
7272
<a
73-
className="mt-3 text-sm text-violet-500 underline decoration-dotted underline-offset-2"
73+
className="m-auto mt-3 w-fit text-sm text-violet-500 underline decoration-dotted underline-offset-2"
7474
href={documentation}
7575
target="_blank"
7676
rel="noreferrer"

0 commit comments

Comments
 (0)