Skip to content

Commit

Permalink
Fix style for disabled message box. (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaddox5 authored Dec 5, 2024
1 parent c0ca44e commit d41dbd5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
12 changes: 7 additions & 5 deletions assets/css/pa-messages.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@
margin-top: 141px;
}

.audioText {
height: 250px;
resize: none;
}

.reviewAudioCard {
height: 250px;
background-color: $cool-gray-15;
Expand Down Expand Up @@ -176,6 +171,13 @@
}
}

.messageTextBox {
height: 250px;
resize: none;
--bs-secondary-bg: #{$bg-elevation-4};
--bs-border-color: #{$cool-gray-30};
}

.startEndItem {
flex: 0 1 250px;
}
Expand Down
5 changes: 4 additions & 1 deletion assets/js/components/Dashboard/MessageTextBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ const MessageTextBox = ({
<Form.Control
required={required}
id={id}
className={cx(paMessageStyles.audioText, paMessageStyles.inputField)}
className={cx(
paMessageStyles.messageTextBox,
paMessageStyles.inputField,
)}
maxLength={maxLength}
as="textarea"
value={text}
Expand Down

0 comments on commit d41dbd5

Please sign in to comment.