mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
improving code
This commit is contained in:
parent
2cecdbda07
commit
516122e058
@ -1,5 +0,0 @@
|
|||||||
#login-card {
|
|
||||||
}
|
|
||||||
body {
|
|
||||||
background: #eee;
|
|
||||||
}
|
|
@ -3,8 +3,8 @@
|
|||||||
z-index: 1100; /* Sit on top */
|
z-index: 1100; /* Sit on top */
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 0px; /* Full width */
|
width: 0; /* Full width */
|
||||||
height: 0px; /* Full height */
|
height: 0; /* Full height */
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex; /* add */
|
display: flex; /* add */
|
||||||
justify-content: center; /* add to align horizontal */
|
justify-content: center; /* add to align horizontal */
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
img {
|
img {
|
||||||
width: inherit;
|
width: inherit;
|
||||||
height: inherit;
|
height: inherit;
|
||||||
vertical-align: inherit;
|
|
||||||
}
|
}
|
@ -1,5 +1,3 @@
|
|||||||
#login-card {
|
|
||||||
}
|
|
||||||
body {
|
body {
|
||||||
background: #eee;
|
background: #eee;
|
||||||
}
|
}
|
@ -1,11 +1,13 @@
|
|||||||
var webpack = require('webpack');
|
var webpack = require('webpack');
|
||||||
var CommonsChunkPlugin = require("webpack/lib/optimize/CommonsChunkPlugin");
|
var CommonsChunkPlugin = require("webpack/lib/optimize/CommonsChunkPlugin");
|
||||||
|
var path = require("path");
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: {
|
entry: {
|
||||||
'app': __dirname+'/main.ts'
|
'app': path.join(__dirname,'/main.ts')
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
filename: __dirname+'/dist/[name]-bundle.js',
|
filename: path.join(__dirname,'/dist/[name]-bundle.js'),
|
||||||
library: ['peer']
|
library: ['peer']
|
||||||
},
|
},
|
||||||
// Turn on sourcemaps
|
// Turn on sourcemaps
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
// @AngularClass
|
var testWebpackConfig = require('./test/webpack.test.config.js');
|
||||||
|
|
||||||
module.exports = function(config) {
|
module.exports = function(config) {
|
||||||
var testWebpackConfig = require('./test/webpack.test.config.js');
|
|
||||||
|
|
||||||
config.set({
|
config.set({
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user