Skip to content

Commit 0162c32

Browse files
author
b
committed
rounded corners
1 parent e01d7c7 commit 0162c32

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/components/CommandLineInterface.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<template>
2+
<div class="cli-container">
23
<vue-command :commands="commands" :hide-buttons="true" :show-help="true" :cursor-position="0" :is-fullscreen="true">
34
<template #title>Command Line Interface v0.1 -- type "help" for instructions</template>
45
<template #prompt>
@@ -13,6 +14,7 @@
1314
<template #invert>true</template>
1415
<template #font></template>
1516
</vue-command>
17+
</div>
1618
</template>
1719

1820
<script lang="ts">
@@ -35,3 +37,10 @@ export default {
3537
};
3638
</script>
3739

40+
<style scoped>
41+
.cli-container {
42+
/* Adjust the border-radius as needed */
43+
border-radius: 10px; /* This will give rounded corners to the container */
44+
overflow: hidden; /* Ensures that the child elements adhere to the container's border radius */
45+
}
46+
</style>

0 commit comments

Comments
 (0)