Skip to content

Commit

Permalink
Fixed project content spacing for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
gridlocdev committed Sep 7, 2023
1 parent 26f1fdf commit 0cfdb20
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-azure-static-webapps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
action: 'upload'
app_location: '/'
api_location: ''
app_artifact_location: 'build'
app_artifact_location: 'build'
2 changes: 1 addition & 1 deletion src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</head>
<body
data-sveltekit-preload-data="hover"
class="h-screen bg-background bg-gradient-to-tl from-secondary bg-fixed font-sora text-[white] md:mx-[5dvw] lg:mx-[15dvw]"
class="mx-[10dvw] h-screen bg-background bg-gradient-to-tl from-secondary bg-fixed font-sora text-[white] lg:mx-[15dvw]"
>
<div style="display: contents">%sveltekit.body%</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/Navbar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/></a
>
<section
class="fixed bottom-0 z-10 flex w-screen items-center justify-around gap-x-8 p-4 text-center backdrop-blur-3xl md:relative md:bottom-auto md:top-0 md:ml-auto md:w-fit md:p-8 md:backdrop-blur-0"
class="fixed bottom-0 left-0 z-10 flex w-screen items-center justify-around gap-x-8 p-4 text-center backdrop-blur-3xl md:relative md:bottom-auto md:top-0 md:ml-auto md:w-fit md:p-8 md:backdrop-blur-0"
>
<a
class="flex flex-col items-center gap-1 transition-opacity hover:opacity-50 md:text-lg"
Expand Down
2 changes: 1 addition & 1 deletion src/routes/ProjectList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</script>

<h2 id="projects" class="mt-12 p-12 text-center text-3xl font-bold">Projects</h2>
<div class="grid grid-cols-1 gap-y-8 md:grid-cols-2 md:gap-5 lg:gap-10">
<div class="grid grid-cols-1 gap-10 md:grid-cols-2">
<ProjectListItem
title="Username Generator"
description="A set of applications for creating randomly-generated usernames"
Expand Down
4 changes: 3 additions & 1 deletion src/routes/ProjectListItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
export let projectType;
</script>

<article class="flex flex-col justify-between gap-2 rounded-lg bg-text/[.1] p-10 shadow-2xl ring ring-[#ccc] ring-opacity-20">
<article
class="flex flex-col justify-between gap-2 rounded-lg bg-text/[.1] p-8 shadow-2xl ring ring-[#ccc] ring-opacity-20 lg:p-10"
>
<div class="flex flex-col gap-2">
<h2 class="text-xl font-bold">{title}</h2>
<p class="text-base">{description}</p>
Expand Down

0 comments on commit 0cfdb20

Please sign in to comment.