We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a869eee commit 582677aCopy full SHA for 582677a
src/components/Nav/index.tsx
@@ -68,12 +68,16 @@ const Container = styled.div`
68
const SubMenus = styled.div`
69
display: none;
70
position: absolute;
71
- top: 90%;
+ top: 1.5rem;
72
73
background-color: #141414;
74
75
font-size: initial;
76
font-weight: initial;
77
+
78
+ @media only screen and (max-width: 810px) {
79
+ top: 0;
80
+ }
81
`;
82
83
const SubMenu = styled.div`
@@ -99,9 +103,9 @@ const Menu = styled.div`
99
103
100
104
@media only screen and (min-width: 810px) {
101
105
padding: 0 0.5rem;
106
+ height: 1rem;
102
107
& + & {
108
border-left: 1px solid;
- height: 1rem;
109
}
110
&:first-of-type {
111
padding-left: 0;
0 commit comments