mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 17:58:55 +00:00
Merge pull request #406 from storytold/bflat-fy-tempinput
revert tempinput div nesting, css fix
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -15,7 +15,7 @@ export default function TempInput({
|
||||
...rest
|
||||
}: InputProps) {
|
||||
return (
|
||||
<div>
|
||||
<>
|
||||
{label && <label className="sub-title">{label}</label>}
|
||||
<div className={`form-group ${icon ? "input-icon" : ""}`}>
|
||||
{icon && (
|
||||
@@ -23,6 +23,6 @@ export default function TempInput({
|
||||
)}
|
||||
<input className="form-control" {...rest} />
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
+1
-1
@@ -68,7 +68,7 @@ function VoiceDesignerVoiceEditPage() {
|
||||
|
||||
<Panel>
|
||||
<div className="d-flex flex-column gap-4 p-3 py-4 p-md-4">
|
||||
<div className="row gy-4">
|
||||
<div>
|
||||
<TempInput
|
||||
{...{
|
||||
label: "Title",
|
||||
|
||||
Reference in new issue
Block a user