codex-work-receipt 0.10.0 → 0.10.1
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 +5 -0
- package/package.json +1 -1
- package/src/renderers/html.mjs +33 -11
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/src/renderers/html.mjs
CHANGED
|
@@ -719,10 +719,15 @@ export function renderHtml({ record, dataQrDataUrl = null, miniProgramCodeDataUr
|
|
|
719
719
|
from { opacity: 0; transform: translateY(-3px); }
|
|
720
720
|
to { opacity: 1; transform: translateY(0); }
|
|
721
721
|
}
|
|
722
|
-
@media (min-width:
|
|
722
|
+
@media (min-width: 1120px) {
|
|
723
|
+
.sidebar {
|
|
724
|
+
align-items: center;
|
|
725
|
+
}
|
|
726
|
+
.sidebar-card {
|
|
727
|
+
width: 100%;
|
|
728
|
+
}
|
|
723
729
|
.sidebar-features[open] {
|
|
724
|
-
width: 560px;
|
|
725
|
-
margin-left: -380px;
|
|
730
|
+
width: clamp(360px, calc(100vw - 880px), 560px);
|
|
726
731
|
}
|
|
727
732
|
}
|
|
728
733
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -1169,7 +1174,7 @@ export function renderHtml({ record, dataQrDataUrl = null, miniProgramCodeDataUr
|
|
|
1169
1174
|
line-height: 1.6;
|
|
1170
1175
|
text-align: center;
|
|
1171
1176
|
}
|
|
1172
|
-
@media (max-width:
|
|
1177
|
+
@media (max-width: 1119px) {
|
|
1173
1178
|
.layout {
|
|
1174
1179
|
grid-template-columns: 1fr;
|
|
1175
1180
|
max-width: 540px;
|
|
@@ -1186,7 +1191,30 @@ export function renderHtml({ record, dataQrDataUrl = null, miniProgramCodeDataUr
|
|
|
1186
1191
|
flex: 1 1 160px;
|
|
1187
1192
|
min-width: 0;
|
|
1188
1193
|
}
|
|
1189
|
-
.sidebar-features {
|
|
1194
|
+
.sidebar-features {
|
|
1195
|
+
width: 100%;
|
|
1196
|
+
max-width: 100%;
|
|
1197
|
+
margin-inline: 0;
|
|
1198
|
+
flex-basis: 100%;
|
|
1199
|
+
}
|
|
1200
|
+
.feature-tabs__list {
|
|
1201
|
+
display: grid;
|
|
1202
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1203
|
+
overflow: visible;
|
|
1204
|
+
}
|
|
1205
|
+
.feature-tab {
|
|
1206
|
+
width: 100%;
|
|
1207
|
+
min-width: 0;
|
|
1208
|
+
white-space: normal;
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
@media (max-width: 560px) {
|
|
1212
|
+
.feature-panel ul { grid-template-columns: 1fr; }
|
|
1213
|
+
.feature-command:nth-child(2) {
|
|
1214
|
+
margin-top: 10px;
|
|
1215
|
+
padding-top: 10px;
|
|
1216
|
+
border-top: 1px dashed var(--feature-soft-line);
|
|
1217
|
+
}
|
|
1190
1218
|
}
|
|
1191
1219
|
@media (max-width: 420px) {
|
|
1192
1220
|
.layout { padding-inline: 10px; }
|
|
@@ -1201,12 +1229,6 @@ export function renderHtml({ record, dataQrDataUrl = null, miniProgramCodeDataUr
|
|
|
1201
1229
|
.structure-grid { grid-template-columns: 1fr; }
|
|
1202
1230
|
.sidebar { flex-direction: column; }
|
|
1203
1231
|
.sidebar-card { flex-basis: auto; }
|
|
1204
|
-
.feature-panel ul { grid-template-columns: 1fr; }
|
|
1205
|
-
.feature-command:nth-child(2) {
|
|
1206
|
-
margin-top: 10px;
|
|
1207
|
-
padding-top: 10px;
|
|
1208
|
-
border-top: 1px dashed var(--feature-soft-line);
|
|
1209
|
-
}
|
|
1210
1232
|
}
|
|
1211
1233
|
</style>
|
|
1212
1234
|
</head>
|