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
parent
commit
21c8ef3cd6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/builder/src/components/common/Inputs/InputGroup.svelte
  2. 4
      packages/builder/src/components/userInterface/propertyCategories.js

2
packages/builder/src/components/common/Inputs/InputGroup.svelte

@ -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]}

4
packages/builder/src/components/userInterface/propertyCategories.js

@ -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,
}, },

Loading…
Cancel
Save