Skip to content

Commit 5dc8252

Browse files
committed
Fix anchor wrap.
1 parent e18fa1a commit 5dc8252

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

src/layouts/Layout.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ const externalDomain = new URL(Astro.site || "").hostname;
5757
article a[href^="http"]:not([href*="var(--externalDomain)"]):not(.button-link):not(:has(img))::after {
5858
font-size: 0.8em;
5959
content: " ↗";
60+
}
61+
62+
article a[href^="http"]:not([href*="var(--externalDomain)"]):not(.button-link):not(:has(img)) {
6063
display: inline-block;
6164
white-space: nowrap;
6265
overflow-wrap: break-word;

src/pages/session/[slug].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const nextSessionsOrdered = sameRoomNextSession
119119
entry.data.resources && (
120120
<>
121121
<br />
122-
<Prose full>
122+
<Prose>
123123
<h2>Resources</h2>
124124
</Prose>
125125
<ul class="list-disc">

src/pages/speaker/[slug].astro

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ function getGitHosting(url: string): string | undefined {
118118
) : null
119119
}
120120

121+
<Prose full>
121122
{
122123
entry.data.affiliation ||
123124
entry.data.homepage ||
@@ -129,7 +130,7 @@ function getGitHosting(url: string): string | undefined {
129130
<h2 class="relative font-title text-primary font-bold mb-[0.6em] [&>a]:border-0 [&>a]:text-inherit text-5xl">
130131
More about the speaker
131132
</h2>
132-
<dl class="grid grid-cols-[max-content_1fr] gap-x-4 gap-y-2">
133+
<dl>
133134
{entry.data.affiliation && (
134135
<>
135136
<dt class="font-bold">Affiliation</dt>
@@ -229,6 +230,7 @@ function getGitHosting(url: string): string | undefined {
229230
</div>
230231
) : null
231232
}
233+
</Prose>
232234

233235
<br />
234236

@@ -253,3 +255,13 @@ function getGitHosting(url: string): string | undefined {
253255
</ul>
254256
</Section>
255257
</Layout>
258+
259+
<style>
260+
261+
dl,
262+
dd, dt {
263+
font-size: 1.25rem;
264+
color: var(--color-text);
265+
}
266+
267+
</style>

0 commit comments

Comments
 (0)