Skip to content

Commit a869eee

Browse files
committed
Edit nav menus style
1 parent 44c441f commit a869eee

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/components/Nav/index.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,16 @@ const Menu = styled.div`
9898
user-select: none;
9999
100100
@media only screen and (min-width: 810px) {
101+
padding: 0 0.5rem;
101102
& + & {
102103
border-left: 1px solid;
103104
height: 1rem;
104-
padding-left: 0.5rem;
105+
}
106+
&:first-of-type {
107+
padding-left: 0;
108+
}
109+
&:last-of-type {
110+
padding-right: 0;
105111
}
106112
}
107113

src/components/common/Page/style.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,6 @@ body {
154154
color: $peach-puzz;
155155
text-align: center;
156156

157-
gap: 1vw;
158-
159157
& > .menu-item {
160158
display: flex;
161159
justify-content: center;

0 commit comments

Comments
 (0)