Skip to content

Commit

Permalink
fix: Improve responsive design
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Sep 1, 2024
1 parent 58df300 commit 6a7b082
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/tailwind.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/project_grid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::components::ProjectCard;
#[component]
pub fn ProjectGrid(projects: &'static [Project<'static>], insert_stars: bool) -> Element {
rsx!(
div { class: "grid grid-cols-2 lg:grid-cols-2 gap-4",
div { class: "grid grid-cols-1 lg:grid-cols-2 gap-4 ",
for project in projects {
ProjectCard { key: "{project.name}", project, insert_stars }
}
Expand Down

0 comments on commit 6a7b082

Please sign in to comment.