Skip to content

Commit c16d3a7

Browse files
move handlebar to front
Signed-off-by: paul bochtler <65470117+datapumpernickel@users.noreply.github.com>
1 parent 949e929 commit c16d3a7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/components/Questions/QuestionRanking.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@
7474
:key="option.id"
7575
class="ranking-item"
7676
role="listitem">
77-
<span class="ranking-item__position">{{ index + 1 }}.</span>
7877
<NcActions
7978
:id="`ranking-${option.id}-drag`"
8079
:container="`#ranking-${option.id}-drag`"
8180
:aria-label="t('forms', 'Move option actions')"
8281
class="ranking-item__drag-handle"
8382
variant="tertiary-no-background">
83+
8484
<template #icon>
8585
<IconDragIndicator :size="20" />
8686
</template>
@@ -103,6 +103,7 @@
103103
{{ t('forms', 'Move option down') }}
104104
</NcActionButton>
105105
</NcActions>
106+
<span class="ranking-item__position">{{ index + 1 }}.</span>
106107
<span class="ranking-item__text">{{ option.text }}</span>
107108
<NcButton
108109
variant="tertiary"
@@ -445,7 +446,6 @@ export default {
445446
.ranking-item {
446447
display: flex;
447448
align-items: center;
448-
gap: var(--default-grid-baseline);
449449
min-height: var(--default-clickable-area);
450450
border-radius: var(--border-radius-large);
451451
user-select: none;
@@ -454,6 +454,7 @@ export default {
454454
font-weight: bold;
455455
min-width: 1.5em;
456456
text-align: end;
457+
margin-inline-end: calc(3 * var(--default-grid-baseline));
457458
color: var(--color-text-maxcontrast);
458459
}
459460

0 commit comments

Comments
 (0)