Skip to content

Commit 838d55b

Browse files
change layout remove import button coming soon
1 parent 492af5a commit 838d55b

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

src/components/left-sidebar/ComponentTab/CreateMenu.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ Description:
77

88
<template>
99
<div class="create-component-div drawer-menu">
10-
<q-expansion-item group="accordion" label="Import Component">
11-
<ImportComponent v-if="activeComponent === ''" @imported="createComponent" title="Import Component (coming soon)" class="sidebar-btn" :disable = "true"/>
12-
</q-expansion-item>
10+
1311
<q-expansion-item group="accordion" label="Create Component" >
1412
<ImportLibraryButton></ImportLibraryButton>
1513
<LibComponents></LibComponents>

src/components/left-sidebar/ComponentTab/ImportLibraryButton.vue

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
<template>
3-
<div class="q-pa-md">
4-
<q-btn color="purple" label="Import element+" @click="pickLibrary('element')"/>
5-
</div>
3+
4+
<q-btn color="purple" class="importBtn" label="Import element+" @click="pickLibrary('element')"/>
5+
66
</template>
77

88

@@ -47,4 +47,10 @@
4747
}
4848
}
4949
</script>
50-
<style></style>
50+
<style>
51+
.importBtn{
52+
margin-top: 20px;
53+
width: 260px;
54+
height: 45px;
55+
}
56+
</style>

src/layouts/MyLayout.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,8 +624,8 @@ q-btn > i {
624624
#github{
625625
width: 50px;
626626
margin-top: 10px;
627-
margin-right: 10px;
628-
margin-left: 10px;
627+
628+
margin-left: 25px;
629629
630630
}
631631
</style>

0 commit comments

Comments
 (0)