reduced padding on comp hierarchy

This commit is contained in:
Michael Shanks 2020-02-20 17:09:35 +00:00
parent 9285b5281c
commit f9f2abac33
1 changed files with 2 additions and 3 deletions

View File

@ -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;