Skip to content

Commit

Permalink
mobile no border
Browse files Browse the repository at this point in the history
  • Loading branch information
jochemloedeman committed Sep 8, 2024
1 parent f1a425e commit 3caf32a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</script>
</head>

<body class="bg-white h-screen text-black opacity-0 transition ease-in duration-700 mx-auto w-11/12 xl:w-3/4">
<body class="bg-white h-screen text-black opacity-0 transition ease-in duration-700 mx-auto w-full sm:w-11/12 xl:w-3/4">
<!-- Navbar -->
<header class="flex w-full overflow-hidden pt-16 pb-12">
<!-- Navbar -->
Expand Down Expand Up @@ -93,7 +93,7 @@
</nav>
</header>
<!-- Content -->
<div id="gallery" class="grid grid-cols-2 lg:grid-cols-3 gap-x-5">
<div id="gallery" class="grid grid-cols-2 lg:grid-cols-3 space-x-2 sm:space-x-5">
</div>

<!-- Footer -->
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/distribute_images.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function distributeImages() {
const columns = [];
for (let i = 0; i < columnCount; i++) {
const column = document.createElement('div');
column.classList.add("flex", "flex-col", "gap-y-5");
column.classList.add("flex", "flex-col", "gap-y-2", "sm:gap-y-5");
columns.push(column);
gallery.appendChild(column);
}
Expand Down

0 comments on commit 3caf32a

Please sign in to comment.