@bbki.ng/site 5.5.4 → 5.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/package.json +2 -2
- package/src/blog/app.tsx +2 -1
- package/src/blog/main.css +28 -0
- package/vite.config.js +2 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bbki.ng/site",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.5",
|
|
4
4
|
"description": "code behind bbki.ng",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"react-dom": "^18.0.0",
|
|
15
15
|
"react-router-dom": "6",
|
|
16
16
|
"swr": "^2.2.5",
|
|
17
|
-
"@bbki.ng/ui": "0.2.
|
|
17
|
+
"@bbki.ng/ui": "0.2.5"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@eslint/compat": "^1.0.0",
|
package/src/blog/app.tsx
CHANGED
package/src/blog/main.css
CHANGED
|
@@ -91,3 +91,31 @@ tr > th {
|
|
|
91
91
|
max-width: 100px;
|
|
92
92
|
width: 100px;
|
|
93
93
|
}
|
|
94
|
+
|
|
95
|
+
:root {
|
|
96
|
+
--safe-top: 0px; /* 立即确定的初始值 */
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@supports (padding-top: env(safe-area-inset-top)) {
|
|
100
|
+
:root {
|
|
101
|
+
--safe-top: env(safe-area-inset-top); /* 延迟计算的值 */
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
:root {
|
|
105
|
+
--safe-top: 0px; /* 立即确定的初始值 */
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@supports (padding-top: env(safe-area-inset-top)) {
|
|
109
|
+
:root {
|
|
110
|
+
--safe-top: env(safe-area-inset-top); /* 延迟计算的值 */
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
:root {
|
|
114
|
+
--safe-top: 0px; /* 立即确定的初始值 */
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@supports (padding-top: env(safe-area-inset-top)) {
|
|
118
|
+
:root {
|
|
119
|
+
--safe-top: calc(env(safe-area-inset-top) + 4px);
|
|
120
|
+
}
|
|
121
|
+
}
|
package/vite.config.js
CHANGED
|
@@ -119,11 +119,13 @@ export default defineConfig({
|
|
|
119
119
|
src: 'pwa-192x192.png',
|
|
120
120
|
sizes: '192x192',
|
|
121
121
|
type: 'image/png',
|
|
122
|
+
purpose: 'maskable',
|
|
122
123
|
},
|
|
123
124
|
{
|
|
124
125
|
src: 'pwa-512x512.png',
|
|
125
126
|
sizes: '512x512',
|
|
126
127
|
type: 'image/png',
|
|
128
|
+
purpose: 'maskable',
|
|
127
129
|
},
|
|
128
130
|
{
|
|
129
131
|
src: 'pwa-512x512.png',
|