Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d8c888c3
authored
2020-04-15 19:29:39 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
441db2cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
src/components/home/dropdown/dropdown.scss
src/components/home/header/header.scss
src/components/home/dropdown/dropdown.scss
View file @
d8c888c
...
...
@@ -9,11 +9,13 @@
.list
{
position
:
absolute
;
width
:
11
0%
;
width
:
11
rem
;
left
:
0
;
right
:
0
;
margin
:
0
auto
;
font-size
:
$fontSize
;
left
:
50%
;
transform
:
translateX
(
-50%
);
//居中处理
.space
{
height
:
1
.5rem
;
...
...
@@ -66,6 +68,10 @@
}
}
}
.drop-list
:lang
(
en
)
{
min-width
:
0
;
margin
:
0
32px
;
}
.user
{
width
:
9
.25rem
;
...
...
@@ -97,13 +103,13 @@
@media
(
max-width
:
1100px
)
{
.drop-list
{
margin
:
0
28px
;
min-width
:
auto
;
min-width
:
0
;
.list
{
width
:
11rem
;
left
:
50%
;
transform
:
translateX
(
-50%
);
//居中处理
}
//
.list {
//
width: 11rem;
//
left: 50%;
//
transform: translateX(-50%); //居中处理
//
}
}
.drop-list
:lang
(
en
)
{
margin
:
0
22px
;
...
...
src/components/home/header/header.scss
View file @
d8c888c
...
...
@@ -161,7 +161,6 @@ $navHeiM: 6rem;
// 原1200px临界样式
.pc
{
display
:
none
;
}
...
...
Please
register
or
sign in
to post a comment