Skip to content

Commit

Permalink
mobile scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
Mordechai Dror committed Sep 24, 2023
1 parent 8382e6f commit 950fe26
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ pnpm-debug.log*

.idea
.vscode

src/content/.obsidian
src/content/templates
2 changes: 1 addition & 1 deletion src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import '@fortawesome/fontawesome-free/css/fontawesome.css';
import '@fortawesome/fontawesome-free/css/solid.css';
---

<footer class="flex flex-row-reverse py-4 border-t gap-1">
<footer class="flex flex-row-reverse gap-1 items-center p-4 border-t">
<a href="/rss.xml"
target="_blank">
<i class='fa-solid fa-rss fa-lg'></i>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const socialLinks: SocialLink[] = [
];
---

<header class="flex py-4 border-b items-center">
<header class="flex gap-1 items-center p-4 border-b">
<nav>
<a href="/">
<Image src={logo} alt="Logo" height="24"/>
Expand Down
8 changes: 8 additions & 0 deletions src/content/posts/_what's-in-my-raspberry-pi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title:
description:
tags:
platforms:
publishedAt:
---
### Section title
5 changes: 3 additions & 2 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ if(Astro.props.title) {
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<title>{title}</title>
</head>
<body class="flex flex-col max-w-2xl mx-auto gap-4 min-h-screen">
<body class="flex flex-col min-h-screen mx-auto md:max-w-md lg:max-w-lg xl:max-w-xl 2xl:max-w-2xl">

<Header />

<main class="flex-1">
<main class="flex-1 p-4">
<slot />
</main>

Expand Down

0 comments on commit 950fe26

Please sign in to comment.