Skip to content

Commit 6bf2411

Browse files
authored
Migrate buttons in New collection to KDS
1 parent 58bca1b commit 6bf2411

File tree

1 file changed

+26
-17
lines changed

1 file changed

+26
-17
lines changed

contentcuration/contentcuration/frontend/channelList/views/ChannelSet/ChannelSetModal.vue

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,13 @@
7979
v-else
8080
fluid
8181
>
82-
<VBtn
83-
color="primary"
84-
class="mb-4"
82+
<KButton
83+
:text="$tr('selectChannelsHeader')"
84+
:primary="true"
85+
class="select-channels-btn"
8586
data-test="button-select"
8687
@click="step++"
87-
>
88-
{{ $tr('selectChannelsHeader') }}
89-
</VBtn>
88+
/>
9089
<VCard
9190
v-for="channelId in channels"
9291
:key="channelId"
@@ -183,22 +182,22 @@
183182
{{ $tr('channelSelectedCountText', { channelCount: channels.length }) }}
184183
</div>
185184
<VSpacer />
186-
<VBtn
185+
<KButton
187186
v-if="step === 1"
188-
color="primary"
187+
class="save-finish-btn"
188+
:text="saveText"
189+
:primary="true"
189190
data-test="button-save"
190191
@click="save"
191-
>
192-
{{ saveText }}
193-
</VBtn>
194-
<VBtn
192+
/>
193+
<KButton
195194
v-else
196-
color="primary"
195+
class="save-finish-btn"
196+
:text="$tr('finish')"
197+
:primary="true"
197198
data-test="button-finish"
198199
@click="finish"
199-
>
200-
{{ $tr('finish') }}
201-
</VBtn>
200+
/>
202201
</template>
203202
</FullscreenModal>
204203

@@ -514,4 +513,14 @@
514513
</script>
515514

516515

517-
<style lang="scss" scoped></style>
516+
<style lang="scss" scoped>
517+
518+
.select-channels-btn {
519+
margin-bottom: 25px;
520+
}
521+
522+
.save-finish-btn {
523+
height: 36px;
524+
}
525+
526+
</style>

0 commit comments

Comments
 (0)