Skip to content

Commit

Permalink
changed the layout8 size to algin the current section label
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanOXDi committed Oct 11, 2023
1 parent 3a8a2be commit 5ce9482
Showing 1 changed file with 3 additions and 68 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@

<KGridItem
:layout12="{ span: 5 }"
:layout8="{ span: 3 }"
:layout8="{ span: 2 }"
class="current-section-style"
:style="{ color: $themePalette.grey.v_700 }"
>
Expand All @@ -183,71 +183,6 @@
</transition-group>
</DragContainer>

<div
:style="activeSection"
class="section-order-list"
>
<KGrid>
<KGridItem
:layout12="{ span: 1 }"
:layout8="{ span: 1 }"
>
<KIcon
icon="dragVertical"
class="space-content"
/>
</KGridItem>

<KGridItem
:layout12="{ span: 6 }"
:layout8="{ span: 5 }"
>
<p class="space-content">
{{ $tr('sectionOrderTitle').toUpperCase() }}
</p>
</KGridItem>

<KGridItem
:layout12="{ span: 5 }"
:layout8="{ span: 3 }"
class="current-section-style"
:style="{ color: $themePalette.grey.v_700 }"
>
<p class="current-section-text space-content">
{{ $tr('currentSection') }}
</p>
</KGridItem>
</KGrid>
</div>

<div
:style="borderStyle"
class="section-order-list"
>
<KGrid>
<KGridItem
:layout12="{ span: 1 }"
:layout8="{ span: 1 }"
:layout4="{ span: 1 }"
>
<KIcon
icon="dragVertical"
class="space-content"
/>
</KGridItem>

<KGridItem
:layout12="{ span: 10 }"
:layout8="{ span: 7 }"
:layout4="{ span: 3 }"
>
<p class="space-content">
{{ $tr('uniqueTitle').toUpperCase() }}
</p>
</KGridItem>
</KGrid>
</div>

<div class="bottom-buttons-style">
<KGrid>
<KGridItem
Expand Down Expand Up @@ -296,10 +231,10 @@
DragHandle,
},
inject: ['quizForge'],
mixins: [enhancedQuizManagementStrings],
setup() {
const { stringLabel$, otherLabel$ } = enhancedQuizManagementStrings;
const { windowIsLarge, windowIsSmall } = useKResponsiveWindow();
return { windowIsLarge, windowIsSmall };
return { windowIsLarge, windowIsSmall, stringLabel$, otherLabel$ };
},
data() {
return {
Expand Down

0 comments on commit 5ce9482

Please sign in to comment.