Skip to content

Commit d0ad877

Browse files
fix: typo and update styling in glossary page (#442)
Signed-off-by: Abhishek kushwaha <[email protected]> Co-authored-by: Animesh Pathak <[email protected]>
1 parent 7677df2 commit d0ad877

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pages/concepts/reference/glossary.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function Glossary() {
155155
className={`col-span-1 gap-2 rounded-sm p-3
156156
${
157157
state[String.fromCharCode(65 + i)]
158-
? "text-black-200 rounded-3xl bg-orange-200 font-bold shadow-md hover:text-orange-950"
158+
? "text-black-200 rounded-3xl bg-orange-200 font-bold shadow-md hover:text-orange-950 dark:text-orange-900"
159159
: entries[String.fromCharCode(65 + i)] === undefined
160160
? "bg-transparent text-gray-400" // Modified color class
161161
: "bg-grey-200 rounded-3xl shadow-md"
@@ -175,13 +175,13 @@ function Glossary() {
175175
<div className="-mb-3 mt-10 flex flex-wrap justify-center gap-4 text-xl font-semibold">
176176
{Object.entries(state).map(([key, value]) => {
177177
return (
178-
<div key={key} className="col-span-3 mb-4 w-1/4">
178+
<div key={key} className="mb-4 w-1/4">
179179
<div key={key}>{value ? key : ""}</div>
180180
{value ? (
181-
<div className="text-l flex grid justify-around">
181+
<div className="ml-4 flex flex-col justify-around text-xl">
182182
{entries[key]?.map(({name, link}, i) => (
183183
<a
184-
className="text-orange-600 hover:text-orange-950 hover:underline"
184+
className="text-orange-600 hover:text-orange-800 hover:underline"
185185
key={i}
186186
href={link}
187187
>

0 commit comments

Comments
 (0)