field inputs gap fix

This commit is contained in:
BFlat committed 2023-12-31 13:30:14 +07:00
1 parent 2b17b5d76f
commit 244e0c29e2
5 files changed
+28 -12

No files matched your search

@@ -1,7 +1,13 @@
input {
margin-bottom: 1rem !important;
.fy-input {
input {
margin-bottom: 1rem;
:last-child {
margin-bottom: 0 !important;
:only-child {
margin-bottom: 0;
}
:last-child {
margin-bottom: 0;
}
}
}
@@ -24,7 +24,7 @@ export default function TempInput({
{label}
</label>
)}
<div className={`${icon ? "input-icon" : ""}`}>
<div className={`fy-input ${icon ? "input-icon" : ""}`}>
{icon && (
<FontAwesomeIcon icon={icon} className="form-control-feedback" />
)}
@@ -1,7 +1,11 @@
.fy-select {
margin-bottom: 1rem !important;
margin-bottom: 1rem;
:only-child {
margin-bottom: 0;
}
:last-child {
margin-bottom: 0 !important;
margin-bottom: 0;
}
}
@@ -21,7 +21,7 @@ export default function TempTextArea({
{label}
</label>
)}
<textarea className="form-control" {...rest} />
<textarea className="fy-textarea form-control" {...rest} />
</>
);
}
@@ -1,7 +1,13 @@
textarea {
margin-bottom: 1rem !important;
.fy-textarea {
&:textarea {
margin-bottom: 1rem;
:last-child {
margin-bottom: 0 !important;
:only-child {
margin-bottom: 0;
}
:last-child {
margin-bottom: 0;
}
}
}