Skip to content

Commit

Permalink
using the Label component
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Reuter committed Dec 21, 2022
1 parent 0ca37ad commit 8095fda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

.itemLabel {
flex-grow: 1;
font-size: 16px;
}

.itemButton {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { FormattedMessage, useIntl } from "react-intl";
import { useEffectOnce } from "react-use";
import * as yup from "yup";

import Label from "components/Label";
import { Button } from "components/ui/Button";
import { Card } from "components/ui/Card";
import { InfoBox } from "components/ui/InfoBox";
Expand Down Expand Up @@ -108,7 +109,7 @@ export const InputsView: React.FC = () => {
<ol className={styles.list}>
{inputs.value.map((input) => (
<li className={styles.listItem} key={input.key}>
<div className={styles.itemLabel}>{input.definition.title || input.key}</div>
<Label className={styles.itemLabel}>{input.definition.title || input.key}</Label>
<Button
className={styles.itemButton}
size="sm"
Expand Down

0 comments on commit 8095fda

Please sign in to comment.