Skip to content

Commit 9ba291b

Browse files
committed
Unify inherent menu panel styles
1 parent ce1fc58 commit 9ba291b

3 files changed

Lines changed: 4 additions & 8 deletions

File tree

frontend/components/AccountMenu.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,6 @@ async function signOut() {
133133
}
134134
135135
.account-menu {
136-
position: absolute;
137136
right: 0;
138-
margin-top: 0.5rem;
139-
z-index: 1;
140137
}
141138
</style>

frontend/components/MenuPanel.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
<style scoped lang="scss">
88
.menu-panel {
9+
position: absolute;
10+
z-index: 1;
11+
margin-top: 4px;
12+
913
--border-radius-containing-block: 0.5rem;
1014
padding: var(--border-radius-containing-block) 0;
1115
}

frontend/components/SplitButton.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,7 @@ $menu-button-width: calc(2 * $menu-button-padding-x + 1em);
161161
}
162162
163163
.menu {
164-
position: absolute;
165-
z-index: 1;
166-
167164
min-width: 100%;
168-
margin-top: 4px;
169-
170165
font-size: 1rem;
171166
}
172167
</style>

0 commit comments

Comments
 (0)