From 906de07f8e2f0bc76a64d15ce995dac37ba00637 Mon Sep 17 00:00:00 2001 From: Blargian Date: Sat, 19 Jun 2021 17:21:30 +0200 Subject: [PATCH] Created editor legend component --- webapp/components/Editor/MenuBar.vue | 12 +++++++----- webapp/components/Editor/MenuLegend.vue | 18 ++++++++++-------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/webapp/components/Editor/MenuBar.vue b/webapp/components/Editor/MenuBar.vue index 88f3c0297..f82e24f74 100644 --- a/webapp/components/Editor/MenuBar.vue +++ b/webapp/components/Editor/MenuBar.vue @@ -61,15 +61,18 @@ /> - + @@ -91,7 +94,6 @@ export default { EditorMenuBar, MenuBarButton, MenuLegend, - }, props: { editor: Object, @@ -109,4 +111,4 @@ export default { font-size: 1.2rem; } } - \ No newline at end of file + diff --git a/webapp/components/Editor/MenuLegend.vue b/webapp/components/Editor/MenuLegend.vue index 81020e957..28f4a18d3 100644 --- a/webapp/components/Editor/MenuLegend.vue +++ b/webapp/components/Editor/MenuLegend.vue @@ -7,7 +7,7 @@ {{ item.label }} {{item.name}} - {{item.shortcut}} + {{item.shortcut}} @@ -37,12 +37,10 @@ export default { \ No newline at end of file +.tool-shortcut{ + padding-left: 2rem; +} +