yummy-guide-generic-administrate 0.8.6 → 0.8.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b201b9ad904f19a38e703ba6b06594b521bd1cf417a4918d624cc5b7d7e2582e
4
- data.tar.gz: 07ff0f3761759c7d35241aed078f9cf6d5ed2842931dcd2d8285efda27f29b8f
3
+ metadata.gz: 0520a5cdee147e08194dab9b3db2bd7c07a1ab16378069dd33075092a0d26fa5
4
+ data.tar.gz: 929494186a5804c39b86503635520ec5b0a5898fc2c306cdd679787dac48b361
5
5
  SHA512:
6
- metadata.gz: 819fb81ffa451dc7d9cbeca62d0770e10e3092b57d65f556e37f5d69410d4ab128d35c32e627dbeb08014e5de844a2c414e80f8249dfd945f912cab119fa219d
7
- data.tar.gz: df08fcc9375a733bf37dc2f88ac542e6f58953b12468e7d5011de07a4295159ee412e8ef31f610493f98dbffeff13e77f7db60be904a3ff82bc627e65d117d1d
6
+ metadata.gz: 043eb9eae3d408ef080935b7ab1072f8f5df4e965549f6b8285c5b3f0dd0e50408c92f0174bac1ede3dceaaee976c107bc900cacb389e294bb66cf3882fe2767
7
+ data.tar.gz: 2cf1472d84a48a940408f1dec4138966f0efd331c0097f3152ccbaa9564e8faf74a246dcf0b195a63393f1934299961a0b334a1b4dc4e66ccea34b2f14bc400f
@@ -684,6 +684,52 @@ td.cell-data:hover .admin-copy-cell__button:not([disabled]),
684
684
  background-color: var(--sticky-cell-background, #fff);
685
685
  }
686
686
 
687
+ @media (max-width: 767px) {
688
+ .scroll-table table th.sticky.actions-column,
689
+ .sticky-table-scroll table th.sticky.actions-column,
690
+ .home-table th.sticky.actions-column,
691
+ .table-wrap table th.sticky.actions-column,
692
+ .af__table__content table th.sticky.actions-column,
693
+ .scroll-table[data-css-sticky-table] table th.sticky.actions-column,
694
+ .home-table__wrapper[data-css-sticky-table] table th.sticky.actions-column {
695
+ position: sticky;
696
+ top: 0;
697
+ right: auto;
698
+ z-index: 2;
699
+ background-color: #121012;
700
+ color: #fff;
701
+ box-shadow: none;
702
+ }
703
+
704
+ .scroll-table table td.sticky.actions-column,
705
+ .sticky-table-scroll table td.sticky.actions-column,
706
+ .home-table td.sticky.actions-column,
707
+ .table-wrap table td.sticky.actions-column,
708
+ .af__table__content table td.sticky.actions-column,
709
+ .scroll-table[data-css-sticky-table] table td.sticky.actions-column,
710
+ .home-table__wrapper[data-css-sticky-table] table td.sticky.actions-column {
711
+ position: static;
712
+ right: auto;
713
+ z-index: auto;
714
+ background-color: var(--sticky-cell-background, #fff);
715
+ box-shadow: none;
716
+ }
717
+
718
+ .scroll-table table th.sticky.actions-column::before,
719
+ .scroll-table table td.sticky.actions-column::before,
720
+ .sticky-table-scroll table th.sticky.actions-column::before,
721
+ .sticky-table-scroll table td.sticky.actions-column::before,
722
+ .home-table th.sticky.actions-column::before,
723
+ .home-table td.sticky.actions-column::before,
724
+ .table-wrap table th.sticky.actions-column::before,
725
+ .table-wrap table td.sticky.actions-column::before,
726
+ .af__table__content table th.sticky.actions-column::before,
727
+ .af__table__content table td.sticky.actions-column::before {
728
+ content: none;
729
+ display: none;
730
+ }
731
+ }
732
+
687
733
  .actions-column {
688
734
  width: 1%;
689
735
  min-width: 6rem;
@@ -2,6 +2,6 @@
2
2
 
3
3
  module YummyGuide
4
4
  module Administrate
5
- VERSION = "0.8.6"
5
+ VERSION = "0.8.7"
6
6
  end
7
7
  end
@@ -128,6 +128,10 @@ RSpec.describe "column resizer assets" do
128
128
  expect(components_source).to include(".scroll-table[data-css-sticky-table] table[data-fixed-columns-count] > thead th")
129
129
  expect(components_source).to include(".scroll-table[data-css-sticky-table] table[data-mobile-fixed-columns-count] th.sticky-left-mobile")
130
130
  expect(components_source).to include(".home-table__wrapper[data-css-sticky-table] table[data-mobile-fixed-columns-count] td.sticky-left-mobile")
131
+ expect(components_source).to include("@media (max-width: 767px)")
132
+ expect(components_source).to include(".scroll-table table th.sticky.actions-column")
133
+ expect(components_source).to include("right: auto")
134
+ expect(components_source).to include("position: static")
131
135
  expect(components_source).to include("background-color: #121012")
132
136
  expect(components_source).to include("color: #fff")
133
137
  expect(components_source).to include(".scroll-table[data-css-sticky-table] table > thead th a")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yummy-guide-generic-administrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.6
4
+ version: 0.8.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - akatsuki-kk