mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2026-04-13 23:11:37 +08:00
1.25.4 & fix package details width on phone
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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%;
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user