Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
55bf30c0
Unverified
Commit
55bf30c0
authored
Jul 17, 2023
by
Brendan Wong
Committed by
GitHub
Jul 17, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: remove shadow and gap on mobile (#6906)
* remove shadow and gap on mobile * remove empty brackets
parent
95f61487
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
MenuDropdown.tsx
src/components/NavBar/MenuDropdown.tsx
+1
-1
NavDropdown.css.ts
src/components/NavBar/NavDropdown.css.ts
+2
-5
No files found.
src/components/NavBar/MenuDropdown.tsx
View file @
55bf30c0
...
@@ -137,7 +137,7 @@ export const MenuDropdown = () => {
...
@@ -137,7 +137,7 @@ export const MenuDropdown = () => {
</
NavIcon
>
</
NavIcon
>
{
isOpen
&&
(
{
isOpen
&&
(
<
NavDropdown
top=
{
{
sm
:
'
unset
'
,
lg
:
'
56
'
}
}
bottom=
{
{
sm
:
'
5
6
'
,
lg
:
'
unset
'
}
}
right=
"0"
>
<
NavDropdown
top=
{
{
sm
:
'
unset
'
,
lg
:
'
56
'
}
}
bottom=
{
{
sm
:
'
5
0
'
,
lg
:
'
unset
'
}
}
right=
"0"
>
<
Column
gap=
"16"
>
<
Column
gap=
"16"
>
<
Column
paddingX=
"8"
gap=
"4"
>
<
Column
paddingX=
"8"
gap=
"4"
>
<
Box
display=
{
{
sm
:
'
none
'
,
lg
:
'
flex
'
,
xxl
:
'
none
'
}
}
>
<
Box
display=
{
{
sm
:
'
none
'
,
lg
:
'
flex
'
,
xxl
:
'
none
'
}
}
>
...
...
src/components/NavBar/NavDropdown.css.ts
View file @
55bf30c0
...
@@ -11,9 +11,6 @@ const baseNavDropdown = style([
...
@@ -11,9 +11,6 @@ const baseNavDropdown = style([
paddingBottom
:
'
8
'
,
paddingBottom
:
'
8
'
,
paddingTop
:
'
8
'
,
paddingTop
:
'
8
'
,
}),
}),
{
boxShadow
:
'
0px 4px 12px 0px #00000026
'
,
},
])
])
export
const
NavDropdown
=
style
([
export
const
NavDropdown
=
style
([
...
@@ -22,7 +19,7 @@ export const NavDropdown = style([
...
@@ -22,7 +19,7 @@ export const NavDropdown = style([
position
:
'
absolute
'
,
position
:
'
absolute
'
,
borderRadius
:
'
12
'
,
borderRadius
:
'
12
'
,
}),
}),
{},
{
boxShadow
:
'
0px 4px 12px 0px #00000026
'
},
])
])
export
const
mobileNavDropdown
=
style
([
export
const
mobileNavDropdown
=
style
([
...
@@ -32,7 +29,7 @@ export const mobileNavDropdown = style([
...
@@ -32,7 +29,7 @@ export const mobileNavDropdown = style([
borderTopRightRadius
:
'
12
'
,
borderTopRightRadius
:
'
12
'
,
borderTopLeftRadius
:
'
12
'
,
borderTopLeftRadius
:
'
12
'
,
top
:
'
unset
'
,
top
:
'
unset
'
,
bottom
:
'
5
6
'
,
bottom
:
'
5
0
'
,
left
:
'
0
'
,
left
:
'
0
'
,
right
:
'
0
'
,
right
:
'
0
'
,
width
:
'
full
'
,
width
:
'
full
'
,
...
...
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