Skip to content

Commit

Permalink
Use more subtle shade of red on chips
Browse files Browse the repository at this point in the history
  • Loading branch information
jtquach1 committed Jan 25, 2024
1 parent 99b8184 commit b5d0e94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/views/Questionnaire/QuestionnaireForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ import { PrepopulationResults } from './SmartApp';
import { v4 as uuid } from 'uuid';
import axios, { AxiosResponse } from 'axios';
import { createRoot } from 'react-dom/client';
import { red } from '@mui/material/colors';
declare global {
interface Window {
LForms: any;
Expand Down Expand Up @@ -118,6 +119,7 @@ export function QuestionnaireForm(props: QuestionnaireProps) {
const partialForms: PartialForms = {};
const LForms = window.LForms;
const questionnaireFormId = `formContainer-${props.qform.id}-${props.tabIndex}`;

useEffect(() => {
// search for any partially completed QuestionnaireResponses
if (props.response) {
Expand Down Expand Up @@ -1078,6 +1080,7 @@ export function QuestionnaireForm(props: QuestionnaireProps) {
display: 'block',
whiteSpace: 'normal'
},
color: red[300],
width: 'unset',
mb: 1,
mr: 1
Expand Down

0 comments on commit b5d0e94

Please sign in to comment.