Formatting update
This commit is contained in:
parent
6cd94db367
commit
c1aaeffaec
|
@ -1,4 +1,4 @@
|
||||||
import {toNumber} from "lodash/fp"
|
import { toNumber } from "lodash/fp"
|
||||||
|
|
||||||
export const generate_screen_css = component_arr => {
|
export const generate_screen_css = component_arr => {
|
||||||
let styles = ""
|
let styles = ""
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
flex: 0;
|
flex: 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,7 +40,10 @@
|
||||||
class="budibase__nav-item item"
|
class="budibase__nav-item item"
|
||||||
class:selected={currentComponent === component}
|
class:selected={currentComponent === component}
|
||||||
style="padding-left: {level * 20 + 53}px">
|
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">
|
<div class="actions">
|
||||||
<ComponentDropdownMenu {component} />
|
<ComponentDropdownMenu {component} />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -78,11 +78,7 @@ const spacingMeta = [
|
||||||
]
|
]
|
||||||
|
|
||||||
export const spacing = [
|
export const spacing = [
|
||||||
{ label: "Margin",
|
{ label: "Margin", key: "margin", control: InputGroup, meta: spacingMeta },
|
||||||
key: "margin",
|
|
||||||
control: InputGroup,
|
|
||||||
meta: spacingMeta
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: "Padding",
|
label: "Padding",
|
||||||
key: "padding",
|
key: "padding",
|
||||||
|
|
Loading…
Reference in New Issue