Skip to content

Commit 02f9d26

Browse files
authored
Add files via upload
1 parent cbf0c94 commit 02f9d26

3 files changed

Lines changed: 15 additions & 9 deletions

File tree

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3011,7 +3011,7 @@ function renderPartEditor() {
30113011
const card = document.createElement("article");
30123012
card.className = `segment-card ${isEditing ? "editing-segment-card" : ""}`;
30133013
card.dataset.segmentId = segment.id;
3014-
const summaryText = segment.note || summarizeItems(segment.items || []) || "尚無針法";
3014+
const summaryText = summarizeItems(segment.items || []) || "尚無針法";
30153015
card.innerHTML = isEditing ? `
30163016
<div class="segment-edit-layout">
30173017
<span class="drag-handle segment-drag-handle" draggable="true" data-segment-drag="${segment.id}">☰</span>

service-worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const VERSION = "109";
1+
const VERSION = "110";
22
const CACHE_NAME = `free-knit-workbench-v${VERSION}`;
33
const ASSETS = [
44
"./",

styles.css

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -813,8 +813,8 @@ textarea {
813813
display: grid;
814814
gap: 10px;
815815
}
816-
.item-editor { grid-template-columns: 28px 1fr 74px 36px; }
817-
.group-item-editor { grid-template-columns: 28px minmax(0, 2fr) minmax(0, 1fr) 36px !important; }
816+
.item-editor { grid-template-columns: 24px 1fr 68px 28px; gap: 6px; }
817+
.group-item-editor { grid-template-columns: 24px minmax(0, 2fr) minmax(0, 1fr) 28px !important; gap: 6px; }
818818
.segment-group-editor {
819819
display: grid;
820820
gap: 8px;
@@ -827,8 +827,8 @@ textarea {
827827
}
828828
.segment-group-row {
829829
display: grid;
830-
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 32px;
831-
gap: 6px;
830+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 22px;
831+
gap: 4px;
832832
align-items: center;
833833
}
834834
.segment-group-row select,
@@ -840,6 +840,12 @@ textarea {
840840
min-width: 0;
841841
width: 100%;
842842
}
843+
.item-editor .text-button,
844+
.segment-group-row .text-button {
845+
min-width: 22px;
846+
padding: 0;
847+
text-align: center;
848+
}
843849
.mini-add-button {
844850
min-height: 36px;
845851
padding: 7px 10px;
@@ -1397,9 +1403,9 @@ textarea {
13971403
padding: 0;
13981404
font-size: var(--text-sm);
13991405
}
1400-
.item-editor { grid-template-columns: 28px 1fr 74px 36px; }
1401-
.group-item-editor { grid-template-columns: 28px minmax(0, 2fr) minmax(0, 1fr) 36px !important; }
1402-
.segment-group-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 30px; }
1406+
.item-editor { grid-template-columns: 24px 1fr 68px 28px; gap: 6px; }
1407+
.group-item-editor { grid-template-columns: 24px minmax(0, 2fr) minmax(0, 1fr) 28px !important; gap: 6px; }
1408+
.segment-group-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 22px; gap: 4px; }
14031409
.group-builder-row { grid-template-columns: 28px minmax(0, 1fr) 58px 36px; }
14041410
.sort-menu {
14051411
min-width: 78px;

0 commit comments

Comments
 (0)