File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 >
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
You can’t perform that action at this time.
0 commit comments