lexxy 0.9.0.beta → 0.9.2.beta

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.
Binary file
Binary file
@@ -488,14 +488,15 @@
488
488
 
489
489
  &:after {
490
490
  background-color: var(--lexxy-color-ink-lighter);
491
+ block-size: var(--lexxy-toolbar-icon-size);
491
492
  content: "";
492
493
  display: block;
493
- width: 1px;
494
- height: 60%;
494
+ inline-size: 1px;
495
495
  inset-inline-end: calc(-1 * var(--lexxy-toolbar-spacing));
496
- inset-block-start: 20%;
497
- position: absolute;
496
+ inset-block: 0;
497
+ margin: auto;
498
498
  pointer-events: none;
499
+ position: absolute;
499
500
  }
500
501
  }
501
502
  }
@@ -556,11 +557,6 @@
556
557
  }
557
558
  }
558
559
 
559
- [overflowing] &:not(.lexxy-editor__toolbar-overflow) summary ~ * {
560
- inset-inline-end: var(--lexxy-toolbar-spacing);
561
- inset-inline-start: var(--lexxy-toolbar-spacing);
562
- }
563
-
564
560
  button {
565
561
  color: var(--lexxy-color-text);
566
562
 
@@ -572,7 +568,6 @@
572
568
  .lexxy-editor__toolbar-dropdown-list {
573
569
  border-start-start-radius: 0;
574
570
  flex-direction: column;
575
- gap: 0.1ch;
576
571
  padding: 0.1ch;
577
572
 
578
573
  button {
@@ -581,6 +576,7 @@
581
576
  flex-direction: row;
582
577
  gap: 1ch;
583
578
  padding: 1ch;
579
+ position: relative;
584
580
 
585
581
  &[aria-pressed="true"] {
586
582
  background-color: var(--lexxy-color-selected);
@@ -600,11 +596,22 @@
600
596
  }
601
597
  }
602
598
 
603
- .separator {
599
+ .lexxy-editor__toolbar-separator {
604
600
  background: var(--lexxy-color-ink-lighter);
605
601
  block-size: 1px;
606
602
  inline-size: 100%;
607
603
  }
604
+
605
+ [overflowing] & {
606
+ display: grid;
607
+ grid-template-columns: repeat(4, 1fr);
608
+
609
+ button span { display: none; }
610
+
611
+ .lexxy-editor__toolbar-separator {
612
+ grid-column: 1 / -1;
613
+ }
614
+ }
608
615
  }
609
616
 
610
617
 
@@ -706,6 +713,11 @@
706
713
  inset-inline-start: 0;
707
714
  max-inline-size: var(--max-inline-size);
708
715
 
716
+ [overflowing] & {
717
+ inset-inline-end: var(--lexxy-toolbar-spacing);
718
+ inset-inline-start: var(--lexxy-toolbar-spacing);
719
+ }
720
+
709
721
  button {
710
722
  position: relative;
711
723
  }
data/lib/lexxy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lexxy
2
- VERSION = "0.9.0.beta"
2
+ VERSION = "0.9.2.beta"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lexxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0.beta
4
+ version: 0.9.2.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jorge Manrubia