lato 0.1.38 → 0.1.40

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: c8947dc920c2ff430381a61dc716793c6f84041524b6e16ac377bc9107e515a1
4
- data.tar.gz: 2e79a46022a54971859448b29484305b41d8c9f9b19dc6a45c4dcb09f526ac42
3
+ metadata.gz: 247fabb5391e65cf82f4e01e433e5b0300997f26aeaf4afa1777b2a40954929e
4
+ data.tar.gz: ab0bab734ed69139b23d943c7370182b04999b1e7885ee85113c6d087c8a06cd
5
5
  SHA512:
6
- metadata.gz: 41fff5e87a6194c695752b447fb93c402461fed8bf0195ed481e7bd7e499f0ba5d5146d899ba0d03aca02883d3122639ee379f25abe2a8f71d314acb9b35c75f
7
- data.tar.gz: 95fbbcf0a7f6d424a81969ad5eb0b60885af056e3350eda753dcef8cfc85cc6f4945cfef1e2084745c0c3118a89e6950c8652eaa2e87f7479686a135fe6eeda6
6
+ metadata.gz: 94557413fa041c0fda74f38d84f881db83d2478e20adffde85d85e25be440e1f236539973b8702a5f5de7b0966df82876441f0645cb9b8819af8103347ae66f2
7
+ data.tar.gz: e1468aa0ec0fc21459e2b194556798f45e34e8b83396fc2756a651fb255f87cfaf5f732fe1d7e347003bb6c69a0b307ac3dbf357d9fcc59ccac3ba5164047ee1
@@ -4,3 +4,8 @@ import "@hotwired/turbo-rails"
4
4
  import "bootstrap"
5
5
  // Import controllers (stimulus rails)
6
6
  import "controllers"
7
+
8
+ // Close sidebar before page change with turbo
9
+ document.addEventListener("turbo:before-visit", () => {
10
+ document.body.classList.remove('aside-open')
11
+ })
@@ -41,7 +41,7 @@ collection_total = collection.respond_to?(:total_count) ? collection.total_count
41
41
  <ul class="list-group list-group-flush">
42
42
  <% collection.each do |member| %>
43
43
  <li class="list-group-item p-2 border-0 bg-light mb-3 rounded">
44
- <table class="table">
44
+ <table class="table mb-0">
45
45
  <tbody>
46
46
  <% columns.each do |column| %>
47
47
  <tr class="lato-index-mob-row lato-index-mob-row-<%= column %>">
data/lib/lato/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "0.1.38"
2
+ VERSION = "0.1.40"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.38
4
+ version: 0.1.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregorio Galante
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-03 00:00:00.000000000 Z
11
+ date: 2023-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails