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

fix mobile wrapping issues #1419

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
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
35 changes: 23 additions & 12 deletions src/lib/PodcastHero.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,24 @@
A <span class="tasty">Tasty Treats</span> Podcast for Web Developers
</h2>
<p class="hosted-by">
Hosted by <img
width="50"
height="50"
src={`https://github.com/wesbos.png`}
alt="A rather handsome Wes Bos"
/><a href="/about">Wes Bos</a>
<span>Hosted by<wbr /></span>
<span>
<img
width="50"
height="50"
src={`https://github.com/wesbos.png`}
alt="A rather handsome Wes Bos"
/><a href="/about">Wes Bos</a>
</span>
<span class="amp">&</span>
<img
width="50"
height="50"
src={`https://github.com/stolinski.png`}
alt="Scott lookin absolutely fresh"
/> <a href="/about">Scott Tolinski</a>
<span>
<img
width="50"
height="50"
src={`https://github.com/stolinski.png`}
alt="Scott lookin absolutely fresh"
/> <a href="/about">Scott Tolinski</a>
</span>
</p>
<p class="brought-by">
Brought to you by <a
Expand Down Expand Up @@ -87,6 +92,12 @@

.hosted-by {
display: flex;
flex-wrap: wrap;
& > span {
display: flex;
align-items: center;
gap: 0.5rem;
}
width: 100%;
justify-content: center;
place-items: center;
Expand Down
3 changes: 2 additions & 1 deletion src/routes/(site)/show/[show_number]/[slug]/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@
}
.topics {
display: inline-flex;
gap: 1rem;
flex-wrap: wrap;
gap: 0 1rem;
}
.show-number {
position: absolute;
Expand Down
Loading