Skip to content

Commit

Permalink
More responsiveness!
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystucki committed Feb 7, 2024
1 parent 226d5a2 commit 9d69f1e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="p-2">
<div class="m-4">
<Navigation />
<router-view />
<PageFooter />
Expand Down
4 changes: 2 additions & 2 deletions src/components/Navigation.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<nav
class="flex m-2"
class="flex"
role="navigation"
aria-label="main navigation"
>
Expand Down Expand Up @@ -36,7 +36,7 @@
>
<div>
<button
class="p-4 peer hover:cursor-auto"
class="py-6 px-4 peer hover:cursor-auto"
v-text="category.title"
/>
<font-awesome-icon
Expand Down
12 changes: 6 additions & 6 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</div>
</Transition>
</div>
<div class="column is-narrow">
<div>
<Transition>
<div
v-if="unknownModules?.length"
Expand All @@ -36,7 +36,7 @@
</Transition>
</div>
</div>
<div class="flex space-x-2 overflow-auto">
<div class="flex space-x-2 overflow-auto before:m-auto after:m-auto">
<SemesterComponent
v-for="semester in semesters"
:key="semester.number"
Expand All @@ -57,8 +57,8 @@
+
</button>
</div>
<div class="mt-4 sm:flex flex-wrap">
<article class="lg:w-1/2 2xl:w-1/3 shrink-0">
<div class="my-16 grid grid-cols-1 lg:grid-cols-2 2xl:grid-cols-3 lg:justify-items-center gap-y-16">
<article>
<span class="text-xl">
Übersicht der ECTS Punkte
</span>
Expand Down Expand Up @@ -113,7 +113,7 @@
</tbody>
</table>
</article>
<article class="lg:w-1/2 2xl:w-1/3 shrink-0">
<article>
<h2 class="text-xl">
Vertiefungen
</h2>
Expand All @@ -132,7 +132,7 @@
</div>
</article>
<img
class="lg:w-1/2 2xl:w-1/3 shrink-0"
class="lg:col-span-2 2xl:col-span-1"
src="../assets/this_is_fine_winter.jpg"
alt="Alternative version of the well known 'this is fine' meme with a dog in a room full of snow"
>
Expand Down

0 comments on commit 9d69f1e

Please sign in to comment.