diff --git a/ShadowEditor.Web/src/ui/form/Input.jsx b/ShadowEditor.Web/src/ui/form/Input.jsx index 6cb4f514..c906013f 100644 --- a/ShadowEditor.Web/src/ui/form/Input.jsx +++ b/ShadowEditor.Web/src/ui/form/Input.jsx @@ -15,12 +15,12 @@ class Input extends React.Component { } render() { - const { className, style, name, type, value, min, max, step, disabled } = this.props; + const { className, style, name, type, value, min, max, step, show, disabled } = this.props; let val = value === undefined || value === null ? '' : value; return ; + return
+ + ; + +
; } componentDidMount() { diff --git a/ShadowEditor.Web/src/ui/property/css/TextureProperty.css b/ShadowEditor.Web/src/ui/property/css/TextureProperty.css index 175daa6d..70b64812 100644 --- a/ShadowEditor.Web/src/ui/property/css/TextureProperty.css +++ b/ShadowEditor.Web/src/ui/property/css/TextureProperty.css @@ -6,6 +6,9 @@ position: absolute; width: 100%; height: 48px; + display: flex; + align-items: center; + justify-content: flex-start; box-sizing: border-box; cursor: pointer; } \ No newline at end of file