Skip to content

Commit 69bccac

Browse files
committed
nav
1 parent c00e69f commit 69bccac

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

src/component/topnav/index.less

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,36 @@
8686
vertical-align:middle;
8787
}
8888
}
89-
}
89+
}
90+
@media screen and (min-width:1260px){
91+
.cp-topnav .c{
92+
width:12rem;
93+
.user{
94+
right:-0.2rem;
95+
}
96+
}
97+
}
98+
@media screen and (min-width:1380px){
99+
.cp-topnav .c{
100+
width:13rem;
101+
.user{
102+
right:-0.28rem;
103+
}
104+
}
105+
}
106+
@media screen and (min-width:1580px){
107+
.cp-topnav .c{
108+
width:15rem;
109+
.user{
110+
right:0.14rem;
111+
}
112+
}
113+
}
114+
@media screen and (min-width:1900px){
115+
.cp-topnav .c{
116+
width:18rem;
117+
.user{
118+
right:0.48rem;
119+
}
120+
}
121+
}

0 commit comments

Comments
 (0)