fixed rendering issue

This commit is contained in:
Blargian 2021-06-24 21:27:35 +02:00
parent 7a6b856390
commit 651e578071
4 changed files with 6 additions and 2 deletions

View File

@ -16,12 +16,12 @@
</template>
<template #popover="" class="legend">
<div class="legend-container">
<div class="legend-header">Keyboard shortcuts and markdown code</div>
<div class="legend-header">{{$t(`editor.legend.legendTitle`)}}</div>
<div class="legend-table" v-for="item in legenditems" :key="item.name">
<base-button size="small" circle ghost :icon="item.iconname" class="legend-icon">
<span v-if="item.label">{{ item.label }}</span>
</base-button>
<span>{{ $t(item.name)}}</span>
<span>{{$t(item.name)}}</span>
<span class="tool-shortcut">{{ item.shortcut }}</span>
</div>
</div>
@ -71,6 +71,7 @@ export default {
}
.legend-header {
margin-bottom: 0.5em;
text-align:center;
}
.legend-table {
display: grid;

View File

@ -314,6 +314,7 @@
"noHashtagsFound": "Keine Hashtags gefunden"
},
"legend": {
"legendTitle": "Tastaturkürzel und Markdown-Code",
"bold": "Fett",
"italic": "Kursiv",
"underline": "underline",

View File

@ -314,6 +314,7 @@
"noHashtagsFound": "No hashtags found"
},
"legend": {
"legendTitle": "Keyboard shortcuts and markdown code",
"bold": "bold",
"italic": "italic",
"underline": "underline",

View File

@ -261,6 +261,7 @@
"noHashtagsFound": "Хэштеги не найдены"
},
"legend": {
"legendTitle": "Клавиатурные сокращения и код разметки",
"bold": "полужирный",
"italic": "курсив",
"underline": "подчеркнутый",