Skip to content

Commit a68008e

Browse files
committed
Some grid work
1 parent 04c23f9 commit a68008e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/routes/photography/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666

6767
<h1 class="text-5xl text-center m-4 pt-1">Photography</h1>
6868

69-
<div class="grid grid-cols-3 grid-flow-row-dense gap-10 m-4 p-4">
69+
<div class="grid lg:grid-cols-3 md:grid-cols-2 grid-cols-1 grid-flow-row-dense gap-10 m-4 p-4">
7070
<!-- {#each media as item}
7171
{#if item.image}
7272
{#if item.type == "panorama_landscape"}
@@ -98,7 +98,7 @@
9898

9999
{#each media1 as item}
100100
{#if item.type == "panorama_landscape"}
101-
<div class="self-center col-span-3 " id={item.type}>
101+
<div class="self-center lg:col-span-3 md:col-span-2 col-span-1" id={item.type}>
102102
<h3 class="lg:text-3xl md:text-xl text-l text-center">{item.text}</h3>
103103
{#if item.image}
104104
<img src={item.image} alt={item.alt} class="rounded-lg" id={item.type}>

0 commit comments

Comments
 (0)