Skip to content

Commit c51390c

Browse files
committed
style: optimize layout header, footer, search ui
1 parent bb92eb7 commit c51390c

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-netease-music",
3-
"version": "1.2.1",
3+
"version": "1.2.3",
44
"description": "基于React、TypeScript的高仿网易云mac客户端播放器",
55
"main": "index.js",
66
"scripts": {

src/components/Layout/Footer/style.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
padding: 10px;
1212
position: fixed;
1313
bottom: 0;
14-
border-top: 2px solid rgb(245, 245, 245);
14+
box-shadow: 0 3px 12px 0 rgb(0 0 0 / 12%);
1515
display: flex;
1616
justify-content: space-between;
1717
background-color: #fff;

src/components/Layout/Header/Searcher/style.module.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@value colors: '~styles/colors.module.css';
2-
@value borderColor from colors;
32

43
@value constants: '~styles/constants.module.css';
54
@value footerHeight, headerHeight from constants;
@@ -33,8 +32,7 @@
3332
right: 0;
3433
top: headerHeight;
3534
transform: translate(100%, 0);
36-
border-left: 1px solid borderColor;
37-
box-shadow: 0 0 5px #fff;
35+
box-shadow: 0 6px 12px 0 rgb(0 0 0 / 12%);
3836
background-color: #fff;
3937
transition: transform 0.3s ease;
4038
}

src/components/Layout/Header/style.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
min-width: bodyMinWidth;
77
height: headerHeight;
88
background-color: rgba(248, 248, 248, 0.95);
9+
box-shadow: 0 1px 10px 1px rgb(0 0 0 / 12%);
910
position: fixed;
1011
top: 0;
1112
display: flex;

0 commit comments

Comments
 (0)