+ style="padding-left: {level * 20 + 53}px">
{get_capitalised_name(component._component)}
{#if index > 0}
{/if}
{#if index < components.length - 1}
-
-
onCopyComponent(component)}>
+ onCopyComponent(component)}>
onDeleteComponent(component)}>
@@ -100,9 +105,16 @@
.item button {
display: none;
height: 20px;
- width: 30px;
+ width: 28px;
color: var(--slate);
padding: 0px 5px;
+ border-style: none;
+ background: rgba(0, 0, 0, 0);
+ cursor: pointer;
+ }
+
+ .item button.copy {
+ width: 26px;
}
.item:hover {
@@ -110,10 +122,7 @@
cursor: pointer;
}
.item:hover button {
- border-style: none;
- background: rgba(0, 0, 0, 0);
display: block;
- cursor: pointer;
}
.item:hover button:hover {
@@ -134,7 +143,11 @@
.reorder-buttons > button {
flex: 1 1 auto;
- height: 17px;
width: 30px;
+ height: 15px;
+ }
+
+ .reorder-buttons > button.solo {
+ padding-top: 2px;
}