lato 0.1.48 → 0.1.49

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b950d52eacb976f1c5c268d08e601c3a4c5cd3b3c92b5bdedc56ef5ba0daeb8
4
- data.tar.gz: 99410bc99efc35de36892b57d19d768d94cf7489867b5d0fef82f7d8ca604b5d
3
+ metadata.gz: 195f4a9fca43ee2b405c47c3e7a3f1e332170e37453a7cea4c7cc47c4c43c5c8
4
+ data.tar.gz: 51c7de15b906741db808a9af9df71853b03c60ff64a407812d6939bc0b98cfa3
5
5
  SHA512:
6
- metadata.gz: 3b232a44f90d3f38f7d0e8321d2085a9d7d7bf7a4aae52ed0160d2cb8d2b654f2e549164eb3e0c15c8623e9f30b097f736d5e96838fb61109a25fceeece75536
7
- data.tar.gz: '0588148e4e64b91b9b92ab609ab95439ab3a08e1e5bfd1d661166f4654cbebdf913dc69b035a0b00027907870e8d5b5214c38a8f1b3ceb8e48c994783224ecdb'
6
+ metadata.gz: e6d21de809cbdb55b1033ad8cbdb7a7ce6c3bb8c65adaf4f18a8f196e30089fbca42e2ef4404350533a237a00374f1bb1926e15003238b57002f60a970241c15
7
+ data.tar.gz: e8303c96bdd9bf25c6cecd921e676261aac581e5a22238e6977ff1c5631c1cc9df2254d4394c43516c5dfd38c557c7fd758b410f18a65cd2851f3b6d8c47c9aa
data/README.md CHANGED
@@ -9,7 +9,7 @@ Add required dependencies to your application's Gemfile:
9
9
  gem "importmap-rails" # NOTE: Probably already installed in default rails 7 project
10
10
 
11
11
  # Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
12
- gem "turbo-rails" # NOTE: Probably already installed in default rails 7 project
12
+ gem "turbo-rails", "1.3.3" # NOTE: Probably already installed in default rails 7 project | lock it to 1.3.3
13
13
 
14
14
  # Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
15
15
  gem "stimulus-rails" # NOTE: Probably already installed in default rails 7 project
@@ -96,3 +96,10 @@ $ ruby ./bin/publish.rb
96
96
 
97
97
  ## License
98
98
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
99
+
100
+ ## Problems with turbo-rails 1.4.0
101
+
102
+ There is an issue with turbo-rails >= 1.4.0 related to the usage of redirects from a request with a turbo_frame not present on the redirect page.
103
+
104
+ Problem: https://github.com/hotwired/turbo-rails/issues/440
105
+ Possible solution: https://github.com/hotwired/turbo-rails/pull/367
@@ -33,9 +33,17 @@ body {
33
33
  }
34
34
 
35
35
  main {
36
- width: 100%;
36
+ width: calc(100% - 280px);
37
37
  opacity: 0;
38
38
  transition: opacity 0.15s ease-in-out;
39
+
40
+ @media screen and (max-width: 768px) {
41
+ width: 100%;
42
+ }
43
+ }
44
+
45
+ aside {
46
+ width: 280px;
39
47
  }
40
48
 
41
49
  main, aside {
@@ -1,4 +1,4 @@
1
- <div class="d-flex flex-column h-100 <%= Lato.btstrap.sidebar %>" style="width: 280px;">
1
+ <div class="d-flex flex-column h-100 <%= Lato.btstrap.sidebar %>">
2
2
  <ul class="nav nav-pills flex-column mb-auto">
3
3
  <%= render 'layouts/lato/sidebar-nav_content' %>
4
4
  </ul>
data/lib/lato/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "0.1.48"
2
+ VERSION = "0.1.49"
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.48
4
+ version: 0.1.49
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-25 00:00:00.000000000 Z
11
+ date: 2023-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails