Skip to content

Commit 59b9c66

Browse files
committed
1.25.4 & fix package details width on phone
1 parent ec0f866 commit 59b9c66

6 files changed

Lines changed: 20 additions & 12 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
id: build
2727
if: steps.changes.outputs.src == 'true'
2828
run: |
29-
npm run install:vite8
29+
npm run install
3030
npm run build
3131
3232
- name: Upload css assets
@@ -53,4 +53,4 @@ jobs:
5353
uses: actions/upload-artifact@v4
5454
with:
5555
name: locales
56-
path: dist/options/locale
56+
path: dist/options/locale

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"typescript.experimental.useTsgo": false
3-
}
3+
}

CHANGELOG.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
### 🌈 Style
2-
3-
#### More aligned with GitHub style
4-
5-
##### Template File
6-
71
### 🐞 Fix
2+
3+
- Fix the width of the detailed page of the software package under the phone

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gitea-github-theme",
3-
"version": "1.25.4.rc",
3+
"version": "1.25.4",
44
"type": "module",
55
"scripts": {
66
"dev": "vite build --mode dev",
@@ -35,7 +35,7 @@
3535
"sass-embedded": "^1.89.2",
3636
"typescript-eslint": "^8.34.1",
3737
"typescript-plugin-css-modules": "^5.1.0",
38-
"vite": "^8.0.0-beta.0"
38+
"vite": "^7.3.1"
3939
},
4040
"prettier": {
4141
"printWidth": 120,

styles/components/issue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ export const comment = css`
309309
.ui.basic.label {
310310
${botLabelStyle}
311311
}
312-
a:has(relative-time){
312+
a:has(relative-time) {
313313
text-decoration: underline;
314314
}
315315
// 已编辑按钮

styles/components/packages.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,15 @@ export const packagesDetail = css`
123123
}
124124
}
125125
`;
126+
127+
// 手机页面下的软件包详细信息页
128+
export const packagesListMobile = css`
129+
@media (max-width: 767.98px) {
130+
.page-content.packages .packages-content {
131+
.packages-content-left,
132+
.packages-content-right {
133+
width: 100%;
134+
}
135+
}
136+
}
137+
`;

0 commit comments

Comments
 (0)