Skip to content

Commit

Permalink
Only make Projects header absolute on large displays
Browse files Browse the repository at this point in the history
  • Loading branch information
kennytv committed Jul 21, 2024
1 parent 8cea12b commit 017e3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Homepage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ useHead(
<Container lg="flex items-start gap-6">
<!-- Projects -->
<div v-if="projects" class="w-full min-w-0 mb-5 flex flex-col gap-2 lg:mb-0">
<h2 class="font-bold text-2xl absolute -mt-11">Projects</h2>
<h2 class="font-bold text-2xl lg:(absolute -mt-11)">Projects</h2>
<ProjectList ref="projectList" :projects="projects" :reset-anchor="pageChangeScrollAnchor" @update:page="(newPage) => (page = newPage)" />
</div>
<!-- Sidebar -->
Expand Down

0 comments on commit 017e3d2

Please sign in to comment.