diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2767ba0..84b30e8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: id: build if: steps.changes.outputs.src == 'true' run: | - npm run install:vite8 + npm run install npm run build - name: Upload css assets @@ -53,4 +53,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: locales - path: dist/options/locale \ No newline at end of file + path: dist/options/locale diff --git a/.vscode/settings.json b/.vscode/settings.json index 4d07be8..8e61f97 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { "typescript.experimental.useTsgo": false -} \ No newline at end of file +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 7be1a4d..12549ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,3 @@ -### 🌈 Style - -#### More aligned with GitHub style - -##### Template File - ### 🐞 Fix + +- Fix the width of the detailed page of the software package under the phone diff --git a/package.json b/package.json index 5970c79..17a4a44 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gitea-github-theme", - "version": "1.25.4.rc", + "version": "1.25.4", "type": "module", "scripts": { "dev": "vite build --mode dev", @@ -35,7 +35,7 @@ "sass-embedded": "^1.89.2", "typescript-eslint": "^8.34.1", "typescript-plugin-css-modules": "^5.1.0", - "vite": "^8.0.0-beta.0" + "vite": "^7.3.1" }, "prettier": { "printWidth": 120, diff --git a/styles/components/issue.ts b/styles/components/issue.ts index 7f12874..05ff6d1 100644 --- a/styles/components/issue.ts +++ b/styles/components/issue.ts @@ -309,7 +309,7 @@ export const comment = css` .ui.basic.label { ${botLabelStyle} } - a:has(relative-time){ + a:has(relative-time) { text-decoration: underline; } // 已编辑按钮 diff --git a/styles/components/packages.ts b/styles/components/packages.ts index 93138d3..53fcb2b 100644 --- a/styles/components/packages.ts +++ b/styles/components/packages.ts @@ -123,3 +123,15 @@ export const packagesDetail = css` } } `; + +// 手机页面下的软件包详细信息页 +export const packagesListMobile = css` + @media (max-width: 767.98px) { + .page-content.packages .packages-content { + .packages-content-left, + .packages-content-right { + width: 100%; + } + } + } +`;