Skip to content

Commit 348ffbb

Browse files
Merge pull request #4297 from cpinitiative/monthlies
fix dark mode on monthlies
2 parents 0de3e95 + a57e405 commit 348ffbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/markdown/ProblemsList/DivisionList/DivisionList.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const DivisionButton = ({
126126
: 'origin-top-right'
127127
} right-0 absolute z-10 mt-2 rounded-md shadow-lg`} // w-36
128128
>
129-
<div className="rounded-md bg-white shadow-xs">
129+
<div className="rounded-md bg-white dark:bg-gray-900 shadow-xs">
130130
<div
131131
className="py-1"
132132
role="menu"
@@ -137,7 +137,7 @@ const DivisionButton = ({
137137
<button
138138
key={option}
139139
onClick={() => handleSelect(option)}
140-
className="flex items-center w-full text-left px-3 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900"
140+
className="flex items-center w-full text-left px-3 py-2 text-sm leading-5 text-gray-700 dark:text-dark-high-emphasis hover:bg-gray-100 dark:hover:bg-gray-700 hover:text-gray-900 dark:hover:text-dark-high-emphasis focus:outline-none focus:bg-gray-100 focus:text-gray-900"
141141
role="menuitem"
142142
>
143143
{getCircle(option)}

0 commit comments

Comments
 (0)