File tree 4 files changed +5
-4
lines changed
4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export function TopBar({ children }: { children: React.ReactNode }) {
55
55
</ span >
56
56
< DirectionDownIcon className = "!w-2.5" />
57
57
</ DropdownMenu . Trigger >
58
- < DropdownMenu . Content gap = { 8 } className = "!z-topBarPopover" >
58
+ < DropdownMenu . Content gap = { 8 } >
59
59
< DropdownMenu . LinkItem to = { pb . profile ( ) } > Settings</ DropdownMenu . LinkItem >
60
60
< DropdownMenu . Item onSelect = { ( ) => logout . mutate ( { } ) } >
61
61
Sign out
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ const TopBarPicker = (props: TopBarPickerProps) => {
112
112
{ /* TODO: popover position should be further right */ }
113
113
{ props . items && (
114
114
< DropdownMenu . Content
115
- className = "!z-topBarPopover mt-2 max-h-80 min-w-[12.8125rem] overflow-y-auto"
115
+ className = "mt-2 max-h-80 min-w-[12.8125rem] overflow-y-auto"
116
116
anchor = "bottom start"
117
117
>
118
118
{ props . items . length > 0 ? (
Original file line number Diff line number Diff line change 7
7
*/
8
8
9
9
.DropdownMenuContent {
10
- @apply z-popover min-w-36 rounded border p-0 bg-raise border-secondary;
10
+ /* we want menu popover to be on top of top bar and pagination bar too */
11
+ @apply z-topBarDropdown min-w-36 rounded border p-0 bg-raise border-secondary;
11
12
12
13
& .DropdownMenuItem {
13
14
@apply block w-full cursor-pointer select-none border-b py-2 pl-3 pr-6 text-left text-sans-md text-secondary border-secondary last:border-b-0;
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ module.exports = {
48
48
modal : '40' ,
49
49
sideModalDropdown : '40' ,
50
50
sideModal : '30' ,
51
- topBarPopover : '25' ,
51
+ topBarDropdown : '25' ,
52
52
topBar : '20' ,
53
53
popover : '10' ,
54
54
contentDropdown : '10' ,
You can’t perform that action at this time.
0 commit comments