make mobile overflow less common
This commit is contained in:
parent
e5af16bfeb
commit
e6510e2833
3 changed files with 6 additions and 2 deletions
|
@ -13,7 +13,7 @@ const { title } = Astro.props;
|
||||||
<style>
|
<style>
|
||||||
.card h2 {
|
.card h2 {
|
||||||
font-family: "Sharp PC3K-2x", monospace;
|
font-family: "Sharp PC3K-2x", monospace;
|
||||||
font-size: 1.2em;
|
font-size: 1em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 8px 0 4px 0;
|
padding: 8px 0 4px 0;
|
||||||
background-color: var(--foreground);
|
background-color: var(--foreground);
|
||||||
|
|
|
@ -22,7 +22,7 @@ let lastYear = 0;
|
||||||
<p>{project.data.description}</p>
|
<p>{project.data.description}</p>
|
||||||
<div class="links">
|
<div class="links">
|
||||||
{project.data.links.map((link) => {
|
{project.data.links.map((link) => {
|
||||||
return <a target="_blank" rel="noopener" href={link}>{link}</a>;
|
return <a class="link" target="_blank" rel="noopener" href={link}>{link}</a>;
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -65,4 +65,7 @@ let lastYear = 0;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
}
|
}
|
||||||
|
.link {
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -38,6 +38,7 @@ import "../styles/main.css";
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<Sidebar />
|
<Sidebar />
|
||||||
|
<!-- container is here b/c view transitions + background = bad -->
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<main
|
<main
|
||||||
data-vtbot-replace="main"
|
data-vtbot-replace="main"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue