baiyaaaaa преди 9 години
родител
ревизия
eb5bbb3ee8
променени са 2 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 2 1
      package.json
  2. 1 0
      packages/theme-default/src/radio.css

+ 2 - 1
package.json

@@ -11,7 +11,7 @@
     "dev": "npm i && (node bin/iconInit.js & node bin/build-entry.js) && cooking watch -c scripts/cooking.demo.js",
     "dist": "rm -rf lib && cooking build -c scripts/cooking.conf.js -p && cooking build -c scripts/cooking.component.js -p && npm run build:theme",
     "dist:all": "node bin/build-all.js && npm run build:theme",
-    "build:theme": "gulp build --gulpfile packages/theme-default/gulpfile.js && cp -rf packages/theme-default/lib lib/theme-default",
+    "build:theme": "node_modules/.bin/gulp build --gulpfile packages/theme-default/gulpfile.js && cp -rf packages/theme-default/lib lib/theme-default",
     "deploy": "cooking build -c scripts/cooking.demo.js -p",
     "gh-docs": "cooking build -c scripts/cooking.demo.js -p && gh-pages -d examples/element-ui --remote origin",
     "postinstall": "lerna bootstrap",
@@ -46,6 +46,7 @@
     "file-loader": "^0.9.0",
     "file-save": "^0.2.0",
     "gh-pages": "^0.11.0",
+    "gulp": "^3.9.1",
     "highlight.js": "^9.3.0",
     "html-loader": "^0.4.3",
     "html-webpack-plugin": "^2.22.0",

+ 1 - 0
packages/theme-default/src/radio.css

@@ -106,6 +106,7 @@
 
   @b radio-group {
     display: inline-block;
+    font-size: 0;
 
     & .el-radio {
       font-size: var(--radio-font-size);