Разделил сайдбар на компоненты

This commit is contained in:
megavrilinvv
2022-11-07 16:39:27 +03:00
parent 3cc8042625
commit 36a2547351
5 changed files with 192 additions and 143 deletions

View File

@@ -15,7 +15,7 @@
span.icon-container(
:class="rightIcon",
v-if="rightIcon"
:style="{fontSize: iconRightSize + 'px'}"
:style="{fontSize: iconRightSize + 'px', marginLeft: marginLeftIcon + 'px'}"
)
</template>
@@ -50,6 +50,10 @@ export default {
type: Number,
default: 24,
},
marginLeftIcon: {
type: Number,
default: 0,
},
},
};
</script>