Skip to content

Commit cf6c149

Browse files
committed
update css
1 parent 8c2ddc6 commit cf6c149

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

src/components/common/header.vue

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="header">
3-
后台管理系统
3+
<div class="logo">后台管理系统</div>
44
<div class="user-info">
55
<el-dropdown trigger="click" @command="handleCommand">
66
<span class="el-dropdown-link">
@@ -38,15 +38,20 @@
3838
.header {
3939
position: relative;
4040
box-sizing: border-box;
41-
padding-left: 50px;
41+
/*padding-left: 50px;*/
4242
width: 100%;
4343
height: 70px;
4444
font-size: 22px;
4545
line-height: 70px;
4646
color: #fff;
4747
background-color: #242f42;
4848
}
49-
49+
.header .logo{
50+
float: left;
51+
width:250px;
52+
text-align: center;
53+
background: #00ADF2;
54+
}
5055
.user-info {
5156
float: right;
5257
padding-right: 50px;
@@ -57,7 +62,7 @@
5762
position: relative;
5863
display: inline-block;
5964
padding-left: 50px;
60-
color: #fff;
65+
color: #03A9F4;
6166
cursor: pointer;
6267
vertical-align: middle;
6368
}

src/components/common/sidebar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
.sidebar{
3838
display: block;
3939
position: absolute;
40-
width: 220px;
40+
width: 250px;
4141
left: 0;
4242
top: 70px;
4343
bottom:0;

static/css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ a{text-decoration: none}
1111
.content{
1212
background: none repeat scroll 0 0 #fff;
1313
position: absolute;
14-
left: 220px;
14+
left: 250px;
1515
right: 0;
1616
top: 70px;
1717
bottom:0;

0 commit comments

Comments
 (0)