Formatting update

This commit is contained in:
Joe 2020-06-01 21:34:03 +01:00
parent 6cd94db367
commit c1aaeffaec
4 changed files with 6 additions and 8 deletions

View File

@ -1,4 +1,4 @@
import {toNumber} from "lodash/fp"
import { toNumber } from "lodash/fp"
export const generate_screen_css = component_arr => {
let styles = ""

View File

@ -28,7 +28,6 @@
</div>
<style>
.label {
flex: 0;
}

View File

@ -40,7 +40,10 @@
class="budibase__nav-item item"
class:selected={currentComponent === component}
style="padding-left: {level * 20 + 53}px">
<div class="nav-item"><i class="icon ri-arrow-right-circle-fill"></i>{get_capitalised_name(component._component)}</div>
<div class="nav-item">
<i class="icon ri-arrow-right-circle-fill" />
{get_capitalised_name(component._component)}
</div>
<div class="actions">
<ComponentDropdownMenu {component} />
</div>

View File

@ -78,11 +78,7 @@ const spacingMeta = [
]
export const spacing = [
{ label: "Margin",
key: "margin",
control: InputGroup,
meta: spacingMeta
},
{ label: "Margin", key: "margin", control: InputGroup, meta: spacingMeta },
{
label: "Padding",
key: "padding",