reduced padding on comp hierarchy
This commit is contained in:
parent
6b4e6076c3
commit
187a9213ae
|
@ -28,7 +28,6 @@
|
||||||
return onMoveDownComponent(c)
|
return onMoveDownComponent(c)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -37,7 +36,7 @@
|
||||||
<div
|
<div
|
||||||
class="item"
|
class="item"
|
||||||
class:selected={currentComponent === component}
|
class:selected={currentComponent === component}
|
||||||
style="padding-left: {level * 20 + 67}px">
|
style="padding-left: {level * 20 + 15}px">
|
||||||
<div>{get_capitalised_name(component._component)}</div>
|
<div>{get_capitalised_name(component._component)}</div>
|
||||||
<div class="reorder-buttons">
|
<div class="reorder-buttons">
|
||||||
{#if index > 0}
|
{#if index > 0}
|
||||||
|
@ -89,7 +88,7 @@
|
||||||
.item {
|
.item {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr auto auto auto;
|
grid-template-columns: 1fr auto auto auto;
|
||||||
padding: 0px 5px 0px 67px;
|
padding: 0px 5px 0px 15px;
|
||||||
margin: auto 0px;
|
margin: auto 0px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
height: 43px;
|
height: 43px;
|
||||||
|
|
Loading…
Reference in New Issue