Skip to content

Commit eea9a89

Browse files
[Remove Vuetify from Studio] Buttons in Move modal
1 parent efb1de6 commit eea9a89

File tree

1 file changed

+23
-21
lines changed
  • contentcuration/contentcuration/frontend/channelEdit/components/move

1 file changed

+23
-21
lines changed

contentcuration/contentcuration/frontend/channelEdit/components/move/MoveModal.vue

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,12 @@
3131
</template>
3232
</Breadcrumbs>
3333
<VSpacer />
34-
<VBtn
35-
color="grey lighten-4"
34+
<KButton
35+
class="add-topic-btn"
36+
:text="$tr('addTopic')"
3637
data-test="newtopic"
3738
@click="showNewTopicModal = true"
38-
>
39-
{{ $tr('addTopic') }}
40-
</VBtn>
39+
/>
4140
</ToolBar>
4241
<!-- list of children content -->
4342
<LoadingText
@@ -159,22 +158,21 @@
159158
v-if="moveHereButtonDisabled && moveNodesInProgress"
160159
:size="20"
161160
/>
162-
<VBtn
163-
flat
164-
exact
165-
data-test="cancel"
166-
@click="dialog = false"
167-
>
168-
{{ $tr('cancel') }}
169-
</VBtn>
170-
<VBtn
171-
color="primary"
172-
data-test="move"
173-
:disabled="moveHereButtonDisabled"
174-
@click="moveNodes"
175-
>
176-
{{ $tr('moveHere') }}
177-
</VBtn>
161+
<KButtonGroup>
162+
<KButton
163+
appearance="flat-button"
164+
:text="$tr('cancel')"
165+
data-test="cancel"
166+
@click="dialog = false"
167+
/>
168+
<KButton
169+
:primary="true"
170+
:text="$tr('moveHere')"
171+
:disabled="moveHereButtonDisabled"
172+
data-test="move"
173+
@click="moveNodes"
174+
/>
175+
</KButtonGroup>
178176
</template>
179177

180178
<NewTopicModal
@@ -436,4 +434,8 @@
436434
margin-bottom: 10px;
437435
}
438436
437+
.add-topic-btn {
438+
flex-shrink: 0;
439+
}
440+
439441
</style>

0 commit comments

Comments
 (0)