mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 17:58:55 +00:00
more gap updates and label padding
This commit is contained in:
1 parent
ff1fb325c0
commit
a2e121345b
5 files changed
+23
-11
No files matched your search
@@ -1,8 +1,12 @@
|
||||
.fy-input {
|
||||
margin-bottom: 1.25rem;
|
||||
margin-bottom: 1rem !important;
|
||||
|
||||
&:only-child,
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.d-flex:not(.flex-column) > .fy-input {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
@@ -1,8 +1,12 @@
|
||||
.fy-select {
|
||||
margin-bottom: 1.25rem;
|
||||
margin-bottom: 1rem !important;
|
||||
|
||||
&:only-child,
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.d-flex:not(.flex-column) > .fy-select {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
@@ -1,8 +1,12 @@
|
||||
.fy-textarea {
|
||||
margin-bottom: 1.25rem;
|
||||
margin-bottom: 1rem !important;
|
||||
|
||||
&:only-child,
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.d-flex:not(.flex-column) > .fy-textarea {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
@@ -408,7 +408,7 @@ styles with important tags:
|
||||
|
||||
.sub-title {
|
||||
font-weight: 500;
|
||||
padding-bottom: 10px;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.form-select {
|
||||
|
||||
+4
-4
@@ -1,9 +1,8 @@
|
||||
import React from "react";
|
||||
// import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
// import { Button } from "components/common";
|
||||
import Input from "components/common/Input";
|
||||
// import useVoiceDetailsStore from "hooks/useVoiceDetailsStore/";
|
||||
import Select from "components/common/TempSelect";
|
||||
import { TempInput, TempSelect } from "components/common";
|
||||
|
||||
export const SearchFieldClass = {
|
||||
control: (state: any) =>
|
||||
@@ -27,8 +26,9 @@ function VoiceDetails({ datasetInputs }: { datasetInputs: any }) {
|
||||
<div>
|
||||
{datasetInputs.map(
|
||||
({ type = "", options = [], ...props }, key: number) => {
|
||||
if (type === "text") return <Input {...{ ...props, key }} />;
|
||||
else return <Select {...{ ...props, classNames, key, options }} />;
|
||||
if (type === "text") return <TempInput {...{ ...props, key }} />;
|
||||
else
|
||||
return <TempSelect {...{ ...props, classNames, key, options }} />;
|
||||
}
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user