1
0
Fork 0
mirror of synced 2024-10-04 20:13:35 +13:00
budibase/packages/builder/src/components/common/Input.svelte
Joe b632cc59a5 Ui Update
Tidied up a few areas of the new edit panel within the Design UI, including:
Margins
Input box sizes
Colors
Tabs

TBD - The parent tab, Add, will move to the left in the future and edit will disappear. Design, settings and actions will become parents.
2020-05-26 20:44:24 +01:00

30 lines
581 B
Svelte

<script>
export let value = ""
export let width = ""
let style = { width }
</script>
<input type="text" style={`width: ${width};`} on:change bind:value />
<style>
input {
display: block;
font-size: 14px;
font-weight: 500;
color: var(--ink);
line-height: 1.3;
padding: 12px;
width: 164px;
float: right;
max-width: 100%;
box-sizing: border-box;
margin: 0;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
background: #fff;
border: 1px solid var(--grey-dark);
height: 32px;
}
</style>