Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Manuscripts.app Public
Manuscripts Manuscript Editor
Commits
7f0d1663
Commit
7f0d1663
authored
Nov 26, 2020
by
Casey Ydenberg
Browse files
FIX menu styles
parent
a9750f1a
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
src/components/application-menu/MenuItemContainer.tsx
src/components/application-menu/MenuItemContainer.tsx
+10
-11
No files found.
src/components/application-menu/MenuItemContainer.tsx
View file @
7f0d1663
...
...
@@ -26,28 +26,27 @@ export const Text = styled.div`
`
export
const
MenuList
=
styled
.
div
`
background:
${(
props
)
=>
props
.
theme
.
colors
.
background
.
primary
}
;
border: 1px solid
${(
props
)
=>
props
.
theme
.
colors
.
border
.
secondary
}
;
border-radius:
${(
props
)
=>
props
.
theme
.
grid
.
radius
.
small
}
;
box-shadow:
${(
props
)
=>
props
.
theme
.
shadow
.
dropShadow
}
;
color:
${(
props
)
=>
props
.
theme
.
colors
.
text
.
primary
}
;
font-size:
${(
props
)
=>
props
.
theme
.
font
.
size
.
normal
}
;
background: #fff;
border: 1px solid #e2e2e2;
border-radius: 4px;
box-shadow: 0 4px 9px 0 rgba(84, 83, 83, 0.3);
color: #353535;
min-width: 150px;
padding:
${(
props
)
=>
props
.
theme
.
grid
.
unit
}
px 0;
padding:
4
px 0;
white-space: nowrap;
width: auto;
z-index: 10;
max-height: 80vh;
overflow-y: auto;
overflow-x: visible;
position: absolute;
&[data-placement='bottom-start'] {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
closeMenu={closeMenu}
&[data-placement='right-start'] {
top:
${(
props
)
=>
props
.
theme
.
grid
.
unit
*
2
}
px;
top:
8
px;
}
`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment