Skip to content

Commit 77beedc

Browse files
Merge pull request #89 from ISISComputingGroup/bug_checktoggle_text_colour
fix text colour on show hidden blocks toggle
2 parents 33c1a3a + 50a6e68 commit 77beedc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/CheckToggle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function CheckToggle({
2323
className="sr-only peer"
2424
/>
2525
<div className="relative w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"></div>
26-
<span className={"ms-3 text-sm font-medium" + textColour}>{text}</span>
26+
<span className={"ms-3 text-sm font-medium " + textColour}>{text}</span>
2727
</label>
2828
</div>
2929
);

0 commit comments

Comments
 (0)