Ver Fonte

fix: style error

vben há 4 anos atrás
pai
commit
7bfe5f753d

+ 0 - 34
.github/release-drafter.yml

@@ -1,34 +0,0 @@
-name-template: 'release-v$NEXT_PATCH_VERSION'
-tag-template: 'release-v$NEXT_PATCH_VERSION'
-categories:
-  - title: 'Features'
-    labels:
-      - 'feat'
-  - title: 'Bug Fixes'
-    labels:
-      - 'fix'
-      - 'bugfix'
-      - 'bug'
-  - title: 'Performance'
-    labels:
-      - 'chore'
-      - 'perf'
-      - 'style'
-      - 'refactor'
-      - 'revert'
-      - 'wip'
-  - title: 'Ci'
-    labels:
-      - 'ci'
-      - 'build'
-      - 'init'
-  - title: 'Docs'
-    labels:
-      - 'docs'
-      - 'build'
-      - 'init'
-      - 'workflow'
-change-template: '- $TITLE (#$NUMBER) @$AUTHOR'
-template: |
-  # What's Changed
-  $CHANGES

+ 0 - 16
.github/workflows/release-drafter.yml

@@ -1,16 +0,0 @@
-name: Release Drafter
-
-on:
-  push:
-    branches:
-      - main
-
-jobs:
-  draft_release:
-    name: Draft release
-    runs-on: ubuntu-latest
-    steps:
-      - uses: release-drafter/release-drafter@v5.11.0
-        name: Draft
-        env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

+ 15 - 0
.github/workflows/release.yml

@@ -0,0 +1,15 @@
+name: Release
+
+on:
+  push:
+    tags:
+      - v*
+
+jobs:
+  release:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - run: npx conventional-github-releaser -p angular
+        env:
+          CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}}

+ 12 - 4
.vscode/settings.json

@@ -64,7 +64,14 @@
     "**/.idea": true,
     "**/.vscode": false,
     "**/yarn.lock": true,
-    "**/tmp": true
+    "**/tmp": true,
+    "out": true,
+    "dist": true,
+    "node_modules": true,
+    "CHANGELOG.md": true,
+    "examples": true,
+    "res": true,
+    "screenshots": true
   },
   "files.exclude": {
     "**/bower_components": true,
@@ -157,7 +164,7 @@
     "editor.defaultFormatter": "esbenp.prettier-vscode"
   },
   "[json]": {
-    "editor.defaultFormatter": "esbenp.prettier-vscode"
+    "editor.defaultFormatter": "vscode.json-language-features"
   },
   "[jsonc]": {
     "editor.defaultFormatter": "vscode.json-language-features"
@@ -186,9 +193,10 @@
   "i18n-ally.keystyle": "nested",
   "i18n-ally.sortKeys": true,
   "i18n-ally.namespace": true,
-  "i18n-ally.pathMatcher":"{locale}/{namespaces}.{ext}",
+  "i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}",
   "i18n-ally.enabledParsers": [
     "ts"
   ],
-  "i18n-ally.sourceLanguage": "zh"
+  "i18n-ally.sourceLanguage": "zh",
+  "i18n-ally.enabledFrameworks":["vue","react"]
 }

+ 7 - 7
src/layouts/default/multitabs/index.less

@@ -115,15 +115,15 @@
       }
     }
   }
-}
 
-.ant-tabs-extra-content {
-  margin-top: 2px;
-  line-height: @multiple-height !important;
-}
+  .ant-tabs-extra-content {
+    margin-top: 2px;
+    line-height: @multiple-height !important;
+  }
 
-.ant-dropdown-trigger {
-  display: inline-flex;
+  .ant-dropdown-trigger {
+    display: inline-flex;
+  }
 }
 
 .multiple-tabs-content {