@burger-editor/client 4.0.0-alpha.53 → 4.0.0-alpha.55

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/README.md CHANGED
@@ -102,7 +102,7 @@ async function initEditor() {
102
102
  },
103
103
  {
104
104
  path: generalCSS,
105
- layer: CSS_LAYER.general,
105
+ layer: CSS_LAYER.base,
106
106
  },
107
107
  ],
108
108
  sampleImagePath: '/images/sample.jpg',
package/dist/client.css CHANGED
@@ -547,6 +547,8 @@
547
547
  --bge-focus-outline-width: 2px;
548
548
  --bge-tooltip-background-color: rgb(0 0 0 / 60%);
549
549
  --bge-font-family-monospace: 'Courier New', monospace;
550
+ --bge-form-control-padding-inline: 0.7em;
551
+ --bge-form-control-padding-block: 0.5em;
550
552
  }
551
553
 
552
554
  :where(body:has(dialog[open])) {
@@ -655,8 +657,8 @@
655
657
  textarea
656
658
  ) {
657
659
  inline-size: 100%;
658
- padding-block: 0.5em;
659
- padding-inline: 0.7em;
660
+ padding-block: var(--bge-form-control-padding-block);
661
+ padding-inline: var(--bge-form-control-padding-inline);
660
662
  font-size: 1em;
661
663
  line-height: 1.1;
662
664
  }
@@ -690,6 +692,10 @@
690
692
  --separator-width: 1px;
691
693
  --separator-height: calc(100% - 4px * 2);
692
694
  --separator-color: var(--bge-border-color);
695
+ padding-inline-end: calc(
696
+ var(--allow-padding) + var(--allow-size) * 4 + var(--separator-width) +
697
+ var(--allow-padding) + var(--bge-form-control-padding-inline)
698
+ );
693
699
  appearance: none;
694
700
  background-image:
695
701
  linear-gradient(45deg, transparent 50%, var(--allow-color) 50%),