lexxy 0.9.25 → 0.9.27
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.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/app/assets/javascript/lexxy.js +79 -6
- data/app/assets/javascript/lexxy.js.br +0 -0
- data/app/assets/javascript/lexxy.js.gz +0 -0
- data/app/assets/javascript/lexxy.js.map +1 -1
- data/app/assets/javascript/lexxy.min.js +1 -1
- data/app/assets/javascript/lexxy.min.js.br +0 -0
- data/app/assets/javascript/lexxy.min.js.gz +0 -0
- data/app/assets/stylesheets/lexxy-editor.css +10 -2
- data/lib/lexxy/version.rb +1 -1
- metadata +1 -1
|
Binary file
|
|
Binary file
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
}
|
|
10
10
|
--lexxy-toolbar-gap: 2px;
|
|
11
11
|
--lexxy-toolbar-spacing: 0.5ch;
|
|
12
|
+
--lexxy-toolbar-padding: 2px;
|
|
13
|
+
--lexxy-toolbar-border-size: 1px;
|
|
14
|
+
--lexxy-toolbar-height: calc(var(--lexxy-toolbar-button-size) + 2 * var(--lexxy-toolbar-padding) + var(--lexxy-toolbar-border-size));
|
|
12
15
|
|
|
13
16
|
border: 1px solid var(--lexxy-color-ink-lighter);
|
|
14
17
|
border-radius: calc(var(--lexxy-radius) + var(--lexxy-toolbar-gap));
|
|
@@ -408,6 +411,11 @@
|
|
|
408
411
|
}
|
|
409
412
|
}
|
|
410
413
|
|
|
414
|
+
/* Reserve the mounted height before upgrade so it doesn't shift layout on mount. */
|
|
415
|
+
:where(lexxy-editor:not(:defined)) {
|
|
416
|
+
min-block-size: calc(var(--lexxy-toolbar-height) + var(--lexxy-editor-rows) + 2 * var(--lexxy-editor-padding));
|
|
417
|
+
}
|
|
418
|
+
|
|
411
419
|
/* Placeholder */
|
|
412
420
|
:where(.lexxy-editor--empty) {
|
|
413
421
|
.lexxy-editor__content:not(:has(h1, h2, h3, h4, h5, h6, table, ul, ol, figure, .attachment-gallery))::before {
|
|
@@ -461,13 +469,13 @@
|
|
|
461
469
|
:where(lexxy-toolbar) {
|
|
462
470
|
--lexxy-toolbar-icon-size: 1.125em;
|
|
463
471
|
|
|
464
|
-
border-block-end:
|
|
472
|
+
border-block-end: var(--lexxy-toolbar-border-size) solid var(--lexxy-color-ink-lighter);
|
|
465
473
|
color: currentColor;
|
|
466
474
|
display: flex;
|
|
467
475
|
font-size: inherit;
|
|
468
476
|
gap: var(--lexxy-toolbar-gap);
|
|
469
477
|
max-inline-size: 100%;
|
|
470
|
-
padding:
|
|
478
|
+
padding: var(--lexxy-toolbar-padding);
|
|
471
479
|
position: relative;
|
|
472
480
|
|
|
473
481
|
@container (width < 300px) {
|
data/lib/lexxy/version.rb
CHANGED