Skip to content

Commit 9d151bd

Browse files
committed
fix style
1 parent be94599 commit 9d151bd

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

gulpfile.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ var revCollector = require('gulp-rev-collector');
2626
//- 路径替换
2727

2828

29+
//删除文件夹中的内容
30+
gulp.task('clean', function() {
31+
del(["./dist/"]);
32+
});
33+
2934
//压缩js
3035
gulp.task('minifyCommonJS', function() {
3136

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "React blog",
55
"main": "index.js",
66
"scripts": {
7+
"clean":"gulp clean",
78
"test": "mocha tests/.setup.js tests/**/*-test.js --compilers css:mocha-compiler.js",
89
"start": "node server",
910
"build": "webpack --config ./bin/webpack.config.js",

src/service/avatar/index.less

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
.cp-reply-cc{
164164
float: left;
165165
margin-left: 55px;
166-
width: 93%;
166+
margin-right: 10px;
167167
font-family:SimSun, "Arial Narrow", HELVETICA;
168168
.cc-header{
169169
color: @NAME_COLOR;
@@ -204,18 +204,16 @@
204204
border-top:1px dotted @BOTTOM_LINE_COLOR;
205205
padding-top: 20px;
206206

207-
208-
209207
.cc-floorNumber{
210-
float: right;
211208
font-size: 12px;
212-
font-family: SimSun;
213209
color: @GRAY_COLOR;
210+
top: 20px;
211+
right: 0px;
212+
position: absolute;
214213
}
215214

216215
.cc-ipAddr{
217216
font-size: 12px;
218-
font-family: SimSun;
219217
color: @GRAY_COLOR;
220218
display: inline-block;
221219
margin-left: 20px;

0 commit comments

Comments
 (0)