Skip to content

Commit

Permalink
Merge pull request #89 from ISISComputingGroup/bug_checktoggle_text_c…
Browse files Browse the repository at this point in the history
…olour

fix text colour on show hidden blocks toggle
  • Loading branch information
iangillingham-stfc authored Jan 16, 2025
2 parents 33c1a3a + 50a6e68 commit 77beedc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/CheckToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function CheckToggle({
className="sr-only peer"
/>
<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>
<span className={"ms-3 text-sm font-medium" + textColour}>{text}</span>
<span className={"ms-3 text-sm font-medium " + textColour}>{text}</span>
</label>
</div>
);
Expand Down

0 comments on commit 77beedc

Please sign in to comment.