Skip to content

Commit

Permalink
Move projects-grid css up to shared css
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Brown committed Jan 14, 2025
1 parent 324a287 commit a3a1c40
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,3 @@
{/each}
</div>
</Section>

<style>
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
gap: 1rem;
max-width: 100%;
position: relative;
padding: 4px;
}
</style>
1 change: 1 addition & 0 deletions src/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@import 'colors.css';
@import 'elevation.css';
@import 'typography.css';
@import 'projects.css';

html.smoothscroll {
scroll-behavior: smooth;
Expand Down
8 changes: 8 additions & 0 deletions src/styles/projects.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
gap: 1rem;
max-width: 100%;
position: relative;
padding: 4px;
}

0 comments on commit a3a1c40

Please sign in to comment.