Skip to content

Commit

Permalink
fix: typo and update styling in glossary page (#442)
Browse files Browse the repository at this point in the history
Signed-off-by: Abhishek kushwaha <[email protected]>
Co-authored-by: Animesh Pathak <[email protected]>
  • Loading branch information
Abbhiishek and Sonichigo authored Aug 19, 2024
1 parent 7677df2 commit d0ad877
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/concepts/reference/glossary.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function Glossary() {
className={`col-span-1 gap-2 rounded-sm p-3
${
state[String.fromCharCode(65 + i)]
? "text-black-200 rounded-3xl bg-orange-200 font-bold shadow-md hover:text-orange-950"
? "text-black-200 rounded-3xl bg-orange-200 font-bold shadow-md hover:text-orange-950 dark:text-orange-900"
: entries[String.fromCharCode(65 + i)] === undefined
? "bg-transparent text-gray-400" // Modified color class
: "bg-grey-200 rounded-3xl shadow-md"
Expand All @@ -175,13 +175,13 @@ function Glossary() {
<div className="-mb-3 mt-10 flex flex-wrap justify-center gap-4 text-xl font-semibold">
{Object.entries(state).map(([key, value]) => {
return (
<div key={key} className="col-span-3 mb-4 w-1/4">
<div key={key} className="mb-4 w-1/4">
<div key={key}>{value ? key : ""}</div>
{value ? (
<div className="text-l flex grid justify-around">
<div className="ml-4 flex flex-col justify-around text-xl">
{entries[key]?.map(({name, link}, i) => (
<a
className="text-orange-600 hover:text-orange-950 hover:underline"
className="text-orange-600 hover:text-orange-800 hover:underline"
key={i}
href={link}
>
Expand Down

0 comments on commit d0ad877

Please sign in to comment.