lato 0.1.49 → 0.1.51

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: 195f4a9fca43ee2b405c47c3e7a3f1e332170e37453a7cea4c7cc47c4c43c5c8
4
- data.tar.gz: 51c7de15b906741db808a9af9df71853b03c60ff64a407812d6939bc0b98cfa3
3
+ metadata.gz: 539b0195845d25bc068c739aff8b831205f87ce01279b19cb32ea71cf7957b4e
4
+ data.tar.gz: 3e0d114e1b5f527e47117902beca8d56f653a3237ccfede37f6605f8ed09dba4
5
5
  SHA512:
6
- metadata.gz: e6d21de809cbdb55b1033ad8cbdb7a7ce6c3bb8c65adaf4f18a8f196e30089fbca42e2ef4404350533a237a00374f1bb1926e15003238b57002f60a970241c15
7
- data.tar.gz: e8303c96bdd9bf25c6cecd921e676261aac581e5a22238e6977ff1c5631c1cc9df2254d4394c43516c5dfd38c557c7fd758b410f18a65cd2851f3b6d8c47c9aa
6
+ metadata.gz: e545b90fbeada4a561ffae965af7592b925f085065b7970c3a94f7fa67ccffbebb36b9d9993b05bea23dee5c2f97beda269c7dd13ee1fa2dff0403b08001159c
7
+ data.tar.gz: df1a6e6160baa9bd9988e2cce4910917c91b7663e0f146c139509698b022df7504af82451f75e0736ebbf3af7d22926403a6122827dfc03882a84240efc0b542
@@ -33,12 +33,17 @@ body {
33
33
  }
34
34
 
35
35
  main {
36
- width: calc(100% - 280px);
36
+ width: 100%;
37
+
37
38
  opacity: 0;
38
39
  transition: opacity 0.15s ease-in-out;
39
40
 
40
- @media screen and (max-width: 768px) {
41
- width: 100%;
41
+ &.layout_sidebar {
42
+ width: calc(100% - 280px);
43
+
44
+ @media screen and (max-width: 768px) {
45
+ width: 100%;
46
+ }
42
47
  }
43
48
  }
44
49
 
@@ -67,6 +72,10 @@ main, aside {
67
72
  transform: translateX(-100%);
68
73
  transition: transform 0.35s ease-in-out;
69
74
 
75
+ > div {
76
+ width: 280px;
77
+ }
78
+
70
79
  .aside-open & {
71
80
  transform: translateX(0);
72
81
  }
@@ -31,7 +31,7 @@
31
31
  </aside>
32
32
  <% end %>
33
33
 
34
- <main>
34
+ <main class="<%= @layout_sidebar && 'layout_sidebar' %>">
35
35
  <%= render 'layouts/lato/content' %>
36
36
  </main>
37
37
  </div>
data/lib/lato/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "0.1.49"
2
+ VERSION = "0.1.51"
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.49
4
+ version: 0.1.51
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-29 00:00:00.000000000 Z
11
+ date: 2023-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails