You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: frontend/viewer/src/lib/views/view-service.svelte.ts
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,9 @@ export function hasVisibleFields(fields: TypedViewField<FieldId>[]): boolean {
72
72
}
73
73
74
74
/**
75
-
* Each visible field becomes one CSS grid-template-areas row: `"<fieldId> <fieldId> <fieldId>"`
75
+
* Returns a string that can be used as a grid-template-areas value for a grid with the given fields, ordered based on the current view.
76
+
* looks like `"lexemeForm lexemeForm lexemeForm" "citationForm citationForm citationForm" "literalMeaning literalMeaning literalMeaning"` etc. each group of fields in quotes is a row.
77
+
* there are 3 columns for each row and one field per row so the field name is repeated 3 times.
0 commit comments