Browse Source
Merge pull request #297 from Budibase/property-panel/bugfixes
Font Weights, Color Label and Input Widths
pull/307/head
Conor_Mack
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
3 deletions
-
packages/builder/src/components/common/Inputs/InputGroup.svelte
-
packages/builder/src/components/userInterface/propertyCategories.js
|
|
@ -27,7 +27,7 @@ |
|
|
<div class="inputs-group"> |
|
|
<div class="inputs-group"> |
|
|
{#each meta as m, i} |
|
|
{#each meta as m, i} |
|
|
<Input |
|
|
<Input |
|
|
width="32px" |
|
|
width="37px" |
|
|
textAlign="center" |
|
|
textAlign="center" |
|
|
placeholder={m.placeholder || ''} |
|
|
placeholder={m.placeholder || ''} |
|
|
value={!displayValues || displayValues[i] === '0' ? '' : displayValues[i]} |
|
|
value={!displayValues || displayValues[i] === '0' ? '' : displayValues[i]} |
|
|
|
|
|
@ -240,7 +240,7 @@ export const typography = [ |
|
|
label: "Weight", |
|
|
label: "Weight", |
|
|
key: "font-weight", |
|
|
key: "font-weight", |
|
|
control: OptionSelect, |
|
|
control: OptionSelect, |
|
|
options: ["normal", "bold", "bolder", "lighter"], |
|
|
options: ["200", "300", "400", "500", "600", "700", "800", "900"], |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: "size", |
|
|
label: "size", |
|
|
@ -297,7 +297,7 @@ export const typography = [ |
|
|
|
|
|
|
|
|
export const background = [ |
|
|
export const background = [ |
|
|
{ |
|
|
{ |
|
|
label: "Background", |
|
|
label: "Color", |
|
|
key: "background", |
|
|
key: "background", |
|
|
control: Input, |
|
|
control: Input, |
|
|
}, |
|
|
}, |
|
|
|