Skip to content

Commit 302f907

Browse files
author
Julia Bakerink
committed
updated dropdown offset
1 parent 71bf870 commit 302f907

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

src/components/file_system_interface/ExportProject.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Description:
1111

1212
<template>
1313
<q-btn class="nav-btn" color="secondary" label="Export">
14-
<q-menu class="dropdown">
14+
<q-menu class="dropdown" :offset="[0, 10]">
1515
<div class="settings-dropdown column items-center">
1616
<p class="center">Export:</p>
1717
<q-btn class="menu-btn" no-caps color="secondary" label="Project" @click="exportProject"/>

src/components/file_system_interface/OpenProjectComponent.vue

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

77
<template>
88
<q-btn class="nav-btn" color="secondary" label="Import">
9-
<q-menu class="dropdown">
9+
<q-menu :offset="[0, 10]" class="dropdown">
1010
<div class="settings-dropdown column items-center">
1111
<p class="center">Import:</p>
1212
<q-btn class="menu-btn" no-caps color="secondary" label="Project" @click="openProjectJSON"/>
@@ -72,12 +72,10 @@ export default {
7272
.menu-btn{
7373
width: 80%;
7474
margin: 10px 0px;
75-
box-shadow:inset 0 -0.6em 0 -0.35em rgba(0,0,0,0.17);
7675
}
7776
7877
.import-comp{
7978
width: 80% !important;
8079
margin: 10px 0px;
81-
box-shadow:inset 0 -0.6em 0 -0.35em rgba(0,0,0,0.17);
8280
}
8381
</style>

src/layouts/MyLayout.vue

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ Description:
4646

4747
<q-btn class="nav-btn" icon="fas fa-cog" size="sm">
4848
<!-- < fas => fontawesome, refers to icon style -->
49-
<q-menu class="dropdown">
49+
<q-menu :offset="[0, 10]" class="dropdown">
5050

5151
<div class="settings-dropdown column items-center">
5252
<q-btn
53-
class="menu-btn"
53+
class="tut-btn"
5454
color="secondary"
5555
label="Getting Started"
5656
no-caps
@@ -427,7 +427,12 @@ q-btn > i {
427427
.menu-btn{
428428
width: 80%;
429429
margin: 10px 0px;
430-
box-shadow:inset 0 -0.6em 0 -0.35em rgba(0, 0, 0, 0.055);
430+
}
431+
432+
.tut-btn{
433+
width: 80%;
434+
margin: 20px 0px 10px;
435+
431436
}
432437
433438
.menu-btn:disabled{

0 commit comments

Comments
 (0)