diff --git a/package.json b/package.json index 72bd7dbc..491c1335 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "@ant-design/colors": "3.2.2", "@babel/core": "^7.17.9", "@babel/eslint-parser": "^7.17.0", + "@tailwindcss/aspect-ratio": "^0.4.0", "@vue/cli-plugin-babel": "~5.0.4", "@vue/cli-plugin-eslint": "~5.0.4", "@vue/cli-plugin-router": "~5.0.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 449c7c85..377c014e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,6 +9,7 @@ specifiers: '@codemirror/lang-java': ^0.19.1 '@halo-dev/admin-api': ^1.0.0 '@halo-dev/editor': ^3.0.4 + '@tailwindcss/aspect-ratio': ^0.4.0 '@vue/cli-plugin-babel': ~5.0.4 '@vue/cli-plugin-eslint': ~5.0.4 '@vue/cli-plugin-router': ~5.0.4 @@ -85,6 +86,7 @@ devDependencies: '@ant-design/colors': 3.2.2 '@babel/core': 7.17.9 '@babel/eslint-parser': 7.17.0_@babel+core@7.17.9+eslint@7.32.0 + '@tailwindcss/aspect-ratio': 0.4.0_tailwindcss@3.0.23 '@vue/cli-plugin-babel': 5.0.4_1a7ab14a3c0306b5654c447f15269443 '@vue/cli-plugin-eslint': 5.0.4_6084a5b0c7b00dd6f5be6d9e72604c89 '@vue/cli-plugin-router': 5.0.4_@vue+cli-service@5.0.4 @@ -446,6 +448,8 @@ packages: resolution: {integrity: sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg==} engines: {node: '>=6.0.0'} hasBin: true + dependencies: + '@babel/types': 7.17.0 dev: true /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/7.16.7_@babel+core@7.17.9: @@ -1824,6 +1828,14 @@ packages: meaw: 5.0.0 dev: false + /@tailwindcss/aspect-ratio/0.4.0_tailwindcss@3.0.23: + resolution: {integrity: sha512-WJu0I4PpqNPuutpaA9zDUq2JXR+lorZ7PbLcKNLmb6GL9/HLfC7w3CRsMhJF4BbYd/lkY6CfXOvkYpuGnZfkpQ==} + peerDependencies: + tailwindcss: '>=2.0.0 || >=3.0.0 || >=3.0.0-alpha.1' + dependencies: + tailwindcss: 3.0.23 + dev: true + /@trysound/sax/0.2.0: resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} engines: {node: '>=10.13.0'} @@ -5202,7 +5214,7 @@ packages: dev: true /image-size/0.5.5: - resolution: {integrity: sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=} + resolution: {integrity: sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==} engines: {node: '>=0.10.0'} hasBin: true requiresBuild: true diff --git a/src/components/Attachment/AttachmentSelectModal.vue b/src/components/Attachment/AttachmentSelectModal.vue index da2a4c4f..782def27 100644 --- a/src/components/Attachment/AttachmentSelectModal.vue +++ b/src/components/Attachment/AttachmentSelectModal.vue @@ -1,5 +1,5 @@