1
0
Fork 0
mirror of synced 2024-10-03 10:36:59 +13:00

Merge pull request #346 from Budibase/image-component

Image Component
This commit is contained in:
Joe 2020-06-10 16:22:57 +01:00 committed by GitHub
commit f33947e501
4 changed files with 15 additions and 3 deletions

View file

@ -187,6 +187,17 @@ export default {
],
},
},
{
_component: "@budibase/standard-components/image",
name: "Image",
description: "A basic component for displaying images",
icon: "ri-image-fill",
children: [],
properties: {
design: { ...all },
settings: [{ label: "URL", key: "url", control: Input }],
},
},
{
_component: "@budibase/standard-components/icon",
name: "Icon",

View file

@ -87,7 +87,6 @@
.form-content {
margin-bottom: 20px;
}
.input {

View file

@ -65,7 +65,7 @@
}
thead {
background: #393C44;
background: #393c44;
border: 1px solid #ccc;
height: 40px;
text-align: left;
@ -87,7 +87,7 @@
tbody tr {
border-bottom: 1px solid #ccc;
transition: 0.3s background-color;
color: #393C44;
color: #393c44;
font-size: 14px;
height: 40px;
}

View file

@ -7,6 +7,8 @@
export let height
export let width
export let _bb
$: style = buildStyle({ height, width })
</script>