Skip to content

Commit 582677a

Browse files
committed
Edit nav menus style
1 parent a869eee commit 582677a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/Nav/index.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,16 @@ const Container = styled.div`
6868
const SubMenus = styled.div`
6969
display: none;
7070
position: absolute;
71-
top: 90%;
71+
top: 1.5rem;
7272
7373
background-color: #141414;
7474
7575
font-size: initial;
7676
font-weight: initial;
77+
78+
@media only screen and (max-width: 810px) {
79+
top: 0;
80+
}
7781
`;
7882

7983
const SubMenu = styled.div`
@@ -99,9 +103,9 @@ const Menu = styled.div`
99103
100104
@media only screen and (min-width: 810px) {
101105
padding: 0 0.5rem;
106+
height: 1rem;
102107
& + & {
103108
border-left: 1px solid;
104-
height: 1rem;
105109
}
106110
&:first-of-type {
107111
padding-left: 0;

0 commit comments

Comments
 (0)