Improve legacy Checkbox styles

merge-requests/1325/head
Alex Gleason 2022-05-06 18:51:06 -05:00
rodzic 047c50cc02
commit 43d494d43c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
2 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -10,7 +10,7 @@ interface IFormGroup {
errors?: string[]
}
/** Input element with label and hint. */
/** Input container with label. Renders the child. */
const FormGroup: React.FC<IFormGroup> = (props) => {
const { children, errors = [], labelText, hintText } = props;
const formFieldId: string = useMemo(() => `field-${uuidv4()}`, []);

Wyświetl plik

@ -65,10 +65,9 @@ code {
position: relative;
.label_input > label {
@apply text-black dark:text-white;
@apply text-sm font-medium text-gray-700 dark:text-gray-400;
font-family: inherit;
font-size: 14px;
padding-top: 5px;
display: block;
width: auto;
}
@ -84,7 +83,7 @@ code {
input[type="checkbox"] {
position: absolute;
top: 3px;
top: 1px;
left: 0;
}