Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Update text styles on Scatter Chart card #429

Merged
merged 1 commit into from
Sep 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/atoms/ToggleOption/toggle-option.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const ToggleOption = ({ optionText, withIcon, checked, handleToggle }: ToogleOpt
className="inline-flex cursor-pointer items-center gap-2 rounded-md px-2 py-0.5 border border-light-slate-6 bg-light-slate-1"
>
<ToggleSwitch handleToggle={handleToggle} name={optionText} checked={checked} />
<span className="text-light-slate-11">{optionText}</span>
<span className="font-medium text-sm text-light-slate-11">{optionText}</span>
{withIcon && (
<HiInformationCircle
title="An outside contributor is not a member the organization"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ const DashboardScatterChart: React.FC<DashboardScatterChartProps> = ({ title, op
};
return (
<div>
<div className="flex justify-between">
<Title level={4}>{title}</Title>
<div className="flex flex-col md:flex-row gap-2 pr-10">
<div className="flex justify-between px-1">
<Title level={4} className="!text-sm !font-medium !text-light-slate-12">{title}</Title>
<div className="flex flex-col md:flex-row gap-2">
<ToggleOption handleToggle={handleShowBots} checked={showBots} optionText="Show Bots"></ToggleOption>
<ToggleOption
handleToggle={handleShowMembers}
Expand Down