@uurtech/jdf 0.2.3 → 0.2.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/dist/jdfjs.css CHANGED
@@ -275,6 +275,22 @@ textarea.jdfjs-form-control {
275
275
  line-height: 1.4;
276
276
  }
277
277
 
278
+
279
+ /* Compact fields: PDF-form widgets shorter than 9 mm (see compactField). */
280
+ .jdfjs-form-field.jdfjs-form-compact { gap: 0; justify-content: center; }
281
+ .jdfjs-form-compact .jdfjs-form-label { display: none; }
282
+ .jdfjs-form-compact .jdfjs-form-control {
283
+ height: 100%;
284
+ min-height: 0;
285
+ padding: 0 2px;
286
+ border-radius: 1px;
287
+ border-color: rgba(100, 116, 139, 0.35);
288
+ background: transparent;
289
+ line-height: 1;
290
+ }
291
+ .jdfjs-form-compact textarea.jdfjs-form-control { min-height: 0; resize: none; line-height: 1.1; }
292
+ .jdfjs-form-compact.jdfjs-form-checkbox input[type="checkbox"] { width: 100%; height: 100%; margin: 0; }
293
+
278
294
  .jdfjs-form-checkbox {
279
295
  flex-direction: row;
280
296
  align-items: center;