Skip to content

Commit

Permalink
fix: responsive columns
Browse files Browse the repository at this point in the history
  • Loading branch information
Veirt committed Aug 2, 2024
1 parent 5022194 commit 1c3df93
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ tests/
Dockerfile
docker-compose.yml

static/style.css
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
config/vesta.toml
!config/.gitkeep
node_modules
static/style.css
10 changes: 5 additions & 5 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
@tailwind utilities;

[data-columns="1"] {
@apply grid-cols-1 w-[8rem];
@apply grid-cols-1 md:w-[8rem];
}

[data-columns="2"] {
@apply grid-cols-2 w-[16rem];
@apply grid-cols-2 md:w-[16rem];
}

[data-columns="3"] {
@apply grid-cols-3 w-[24rem];
@apply grid-cols-3 md:w-[24rem];
}

[data-columns="4"] {
@apply grid-cols-4 w-[32rem];
@apply grid-cols-4 md:w-[32rem];
}

[data-columns="5"] {
@apply grid-cols-5 w-[40rem];
@apply grid-cols-5 sm:w-[40rem];
}

[data-columns="6"] {
Expand Down

0 comments on commit 1c3df93

Please sign in to comment.