@ketvietlab/ketsuite 0.1.13 → 0.1.14

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.
@@ -705,95 +705,7 @@
705
705
  }
706
706
  }
707
707
 
708
- /* The compact shell is two useful rows: identity/search, then a horizontally
709
- scrollable menu for the current app. The old responsive rules changed the
710
- sidebar to a row but left its flexing navigation at desktop height, producing
711
- more than 500px of empty space above every mobile screen. */
712
708
  @media (max-width: 47.9375rem) {
713
- [data-ui="sidebar-main"] {
714
- display: contents;
715
- }
716
-
717
- [data-ui="sidebar"],
718
- body > [data-ui="shell"] > [data-ui="sidebar"] {
719
- display: grid;
720
- grid-template-columns: auto minmax(8rem, 1fr) auto;
721
- align-items: center;
722
- gap: var(--admin-gap-sm);
723
- block-size: auto;
724
- padding: var(--admin-gap-sm);
725
- }
726
- [data-ui="sidebar-header"] {
727
- padding: 0;
728
- }
729
- /* The grid above reserves `minmax(8rem, 1fr)` for this. It was reserving that
730
- column for an element `responsive.css` had hidden, so the row carried a
731
- gap where the only other way out of a screen should have been. */
732
- [data-ui="sidebar-search"] {
733
- display: flex;
734
- margin: 0;
735
- }
736
- /* The one definition of the mobile menu strip. `responsive.css` used to hide
737
- it at this same breakpoint, in this same layer, at this same specificity —
738
- so which rule won was decided by the order of the `styles` array and
739
- nothing else. Swapping two lines in that array made the mobile menu
740
- disappear entirely. */
741
- [data-ui="sidebar-nav"] {
742
- display: block;
743
- grid-column: 1 / -1;
744
- padding: 0;
745
- overflow-x: auto;
746
- overflow-y: hidden;
747
- /* The desktop sidebar hides its scrollbar because it scrolls vertically
748
- in a tall column where the cut edge is obvious. Lying on its side this
749
- strip hides most of itself — two thirds of it on a phone — and without
750
- a scrollbar there is nothing at all to say the rest exists. */
751
- scrollbar-width: thin;
752
- overscroll-behavior-inline: contain;
753
- /* A second, quieter signal for the platforms that draw the scrollbar only
754
- while it moves: the strip fades where it continues. */
755
- mask-image: linear-gradient(to right, #000 calc(100% - 1.5rem), transparent);
756
- }
757
-
758
- [data-ui="sidebar-nav"]::-webkit-scrollbar {
759
- display: block;
760
- block-size: 0.25rem;
761
- }
762
- [data-ui="sidebar-section-label"],
763
- [data-ui="app-list"],
764
- [data-ui="menu-section-title"] {
765
- display: none;
766
- }
767
- [data-ui="sidebar-foot"] {
768
- display: flex;
769
- grid-column: 3;
770
- grid-row: 1;
771
- }
772
- [data-ui="menu"] {
773
- display: flex;
774
- inline-size: max-content;
775
- gap: var(--admin-gap-xs);
776
- }
777
- [data-ui="menu-item-wrap"],
778
- [data-ui="menu-section"] {
779
- display: block;
780
- }
781
- [data-ui="menu-section-children"] {
782
- display: flex;
783
- inline-size: max-content;
784
- gap: var(--admin-gap-xs);
785
- margin: 0;
786
- padding: 0;
787
- border: 0;
788
- }
789
- [data-ui="menu-item"] {
790
- min-block-size: 2.5rem;
791
- padding-inline: var(--admin-gap);
792
- }
793
- [data-ui="menu-dot"] {
794
- display: none;
795
- }
796
-
797
709
  /* A list remains a readable list on a narrow screen. Let its own scroll box
798
710
  carry the width instead of squeezing identifiers into one-character lines. */
799
711
  [data-ui="table"] {