Skip to content

Commit 18f30f3

Browse files
committed
trying to get focus to work
1 parent 4cd36fb commit 18f30f3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/components/chapters/Chapters.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,11 @@ const Chapters = ({
220220
>
221221
React posts
222222
</FrameworkButton>
223-
<FrameworkButton onClick={() => toggleFramework("vue")} img={VueIcon}>
223+
<FrameworkButton
224+
className="bg-green-lightest text-green-darker px-4 py-2 rounded focus:border-green-darker focus:border"
225+
onClick={() => toggleFramework("vue")}
226+
img={VueIcon}
227+
>
224228
Vue posts
225229
</FrameworkButton>
226230
</div>

tailwind.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ module.exports = {
382382
backgroundPosition: ["responsive"],
383383
backgroundRepeat: ["responsive"],
384384
backgroundSize: ["responsive"],
385+
border: ["hover"],
385386
borderCollapse: ["responsive"],
386387
borderColor: ["responsive", "hover", "focus"],
387388
borderRadius: ["responsive"],

0 commit comments

Comments
 (0)