Skip to content

Commit

Permalink
fix(layout): remove bolding on desktop nav (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
corybuecker authored Oct 9, 2024
1 parent 0b004f2 commit 47bfedc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@
<body class="@container">
<div class="@lg:h-auto @sm:h-svh flex flex-col @lg:justify-start @sm:justify-between">
<nav class="@sm:hidden @lg:flex flex-row gap-8 mt-4 justify-center items-center">
<a class="px-4 py-2 {% if section and section == "Reports" %}bg-slate-600 rounded-md text-white font-semibold{% endif %}"
<a class="px-4 py-2 {% if section and section == "Reports" %}bg-slate-600 rounded-md text-white{% endif %}"
href="/">Reports</a>
<a class="px-4 py-2 {% if section and section == "Accounts" %}bg-slate-600 rounded-md text-white font-semibold{% endif %}"
<a class="px-4 py-2 {% if section and section == "Accounts" %}bg-slate-600 rounded-md text-white{% endif %}"
href="/accounts">Accounts</a>
<a class="px-4 py-2 {% if section and section == "Envelopes" %}bg-slate-600 rounded-md text-white font-semibold{% endif %}"
<a class="px-4 py-2 {% if section and section == "Envelopes" %}bg-slate-600 rounded-md text-white{% endif %}"
href="/envelopes">Envelopes</a>
<a class="px-4 py-2 {% if section and section == "Goals" %}bg-slate-600 rounded-md text-white font-semibold{% endif %}"
<a class="px-4 py-2 {% if section and section == "Goals" %}bg-slate-600 rounded-md text-white{% endif %}"
href="/goals">Goals</a>
<a class="px-4 py-2 {% if section and section == "Preferences" %}bg-slate-600 rounded-md text-white font-semibold{% endif %}"
<a class="px-4 py-2 {% if section and section == "Preferences" %}bg-slate-600 rounded-md text-white{% endif %}"
href="/preferences">Preferences</a>
</nav>
<main class="@lg:overflow-y-auto @lg:pb-0 @sm:overflow-y-scroll @sm:pb-1">
Expand Down
4 changes: 2 additions & 2 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
module.exports = {
content: ["./src/**/*.{html,js}"],
theme: {
extend: {},
extend: {}
},
plugins: [require('@tailwindcss/container-queries'), require('@tailwindcss/forms')],
}
}

0 comments on commit 47bfedc

Please sign in to comment.