Skip to content

Commit

Permalink
Locations view responsiveness needs improvement
Browse files Browse the repository at this point in the history
Closes #322
  • Loading branch information
bkis committed Aug 29, 2024
1 parent 7622bde commit 19fbfa1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Tekst-Web/src/views/admin/AdminTextsLocationsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ function renderSwitcherIcon() {
function renderLabel({ option }: { option: TreeOption }) {
const levelLabel = state.textLevelLabels[option.level as number];
return h('div', { class: 'entry-label mr-lg' }, [
h('span', `${levelLabel}: ${option.label}`),
h('span', { style: 'white-space: nowrap' }, `${levelLabel}: ${option.label}`),
(option.aliases as string[])?.map((alias) => h(NTag, { size: 'small' }, alias)),
]);
}
Expand Down Expand Up @@ -531,8 +531,10 @@ watch(
:deep(.entry-label) {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
column-gap: 12px;
row-gap: 4px;
padding: 4px;
}
</style>

0 comments on commit 19fbfa1

Please sign in to comment.