lookbook 0.3.0.beta.0 → 0.3.0.beta.1

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: 0eddf2109917e499486420e62609c84456017efee3429da0370057a0792953eb
4
- data.tar.gz: f5713d64d58704467646bebf3bdf979ad905c8e70df08cebb20401ed279b2a31
3
+ metadata.gz: 6b0d42f049a62be24079955f108c14f4b7b73b8b0f0a677639cce865e2260006
4
+ data.tar.gz: db6d156648495478cdcd55101065cb3875cfbdfb2b9bce3f924e37a11b2b789b
5
5
  SHA512:
6
- metadata.gz: 41238edb770517284df464e2a70682abc239dc9efb0212c4f467f596d013ea40ffbbcf391061eba724e2ffb168f9fc4ae3ef5684fe348f1574ea930746b8d796
7
- data.tar.gz: c9c78b2399fae7a00185441af62a75568afc3a732ca46889e9314234aabc520f62aa9bbc89c84ba8f4af40d4e64d56d5152b96f48994b6a60d53a06bb9a5de7f
6
+ metadata.gz: 15a7f9761f859bfdc9965801aba418e30fc95520635fc1a03dd9ff63af5e73e98563bc8d16420ae705824f18dffcdc9f834b57547815c4ab5cf899aba831e2e3
7
+ data.tar.gz: 889cea13089b40fa493c7ca39e6ff871f9db6432b9fffa1b57ab1a3a686b6e04ee2d0e3859093abcea386ccd67e2d7fe3aeaf2acf239632c535332d2a35e2ae3
@@ -36,11 +36,11 @@
36
36
  }
37
37
 
38
38
  .h-fill {
39
- height: -webkit-fill-available;
39
+ height: fill-available;
40
40
  }
41
41
 
42
42
  .min-h-fill {
43
- min-height: -webkit-fill-available;
43
+ min-height: fill-available;
44
44
  }
45
45
 
46
46
  ::-webkit-scrollbar {
@@ -1,4 +1,4 @@
1
- <div id="workbench" class="bg-gray-50 h-full min-h-fill flex flex-col" x-data="workbench">
1
+ <div id="workbench" class="bg-gray-50 h-screen flex flex-col" x-data="workbench">
2
2
  <%= render "./workbench/header" %>
3
3
  <div class="md:grid flex-grow" :style="`grid-template-rows: 1fr 1px ${$store.inspector.height}px`">
4
4
  <%= render "./workbench/preview" %>
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html>
2
- <html lang="en" class="h-fill min-h-fill">
2
+ <html lang="en" class="h-screen">
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -17,7 +17,7 @@
17
17
 
18
18
  <title><%= [@example&.label, @preview&.label, "Lookbook"].compact.join(" :: ") %></title>
19
19
  </head>
20
- <body class="text-gray-800 font-sans text-sm antialiased h-fill min-h-fill overflow-hidden">
20
+ <body class="text-gray-800 font-sans text-sm antialiased h-screen overflow-hidden">
21
21
  <div
22
22
  x-data="page"
23
23
  x-effect="updateTitle"
@@ -25,15 +25,15 @@
25
25
  @popstate.window="fetchHTML().then(doc => { $dispatch('document:loaded', {doc}); sidebarOpenMobile = false})"
26
26
  @sidebar:toggle.window="sidebarOpenMobile = !sidebarOpenMobile"
27
27
  :style="`grid-template-columns: ${$store.nav.width}px 1px 1fr;`"
28
- class="md:grid w-screen w-fill h-full min-h-fill"
28
+ class="md:grid w-screen h-screen"
29
29
  >
30
- <div class="h-full min-h-fill bg-gray-100 overflow-hidden" x-show="$screen('md') || sidebarOpenMobile" x-cloak>
30
+ <div class="h-full bg-gray-100 overflow-hidden" x-show="$screen('md') || sidebarOpenMobile" x-cloak>
31
31
  <%= render "./sidebar" %>
32
32
  </div>
33
- <div x-data="split(splitProps)" class="h-fill gutter border-r border-gray-300 relative" x-show="$screen('md')" x-cloak>
34
- <div class="w-[9px] h-full min-h-fill bg-transparent hover:bg-indigo-100 hover:bg-opacity-20 transition absolute top-0 bottom-0 transform -translate-x-1/2 cursor-[col-resize] z-10"></div>
33
+ <div x-data="split(splitProps)" class="h-full gutter border-r border-gray-300 relative" x-show="$screen('md')" x-cloak>
34
+ <div class="w-[9px] h-full bg-transparent hover:bg-indigo-100 hover:bg-opacity-20 transition absolute top-0 bottom-0 transform -translate-x-1/2 cursor-[col-resize] z-10"></div>
35
35
  </div>
36
- <main id="main" x-effect="render" class="h-fill overflow-hidden w-full" x-show="!$screen('md') || !sidebarOpenMobile" x-cloak>
36
+ <main id="main" x-effect="render" class="h-full overflow-hidden w-full" x-show="!$screen('md') || !sidebarOpenMobile" x-cloak>
37
37
  <%= yield %>
38
38
  </main>
39
39
  </div>
@@ -1,4 +1,4 @@
1
- <div id="preview" class="h-full min-h-fill md:h-auto md:min-h-0 flex w-full bg-gray-50">
1
+ <div id="preview" class="h-full md:h-auto md:min-h-0 flex w-full bg-gray-50">
2
2
  <div class="relative mx-auto bg-white" x-data="preview" :style="`width: ${$screen('md') ? $store.preview.width : '100%'}`">
3
3
  <iframe seamless
4
4
  class="absolute h-full inset-0 w-full border-l border-gray-300 md:pr-4 md:-mx-px"
@@ -1,3 +1,3 @@
1
1
  module Lookbook
2
- VERSION = "0.3.0.beta.0"
2
+ VERSION = "0.3.0.beta.1"
3
3
  end
@@ -818,12 +818,10 @@ pre[class*="language-"] {
818
818
  fill: none;
819
819
  }
820
820
 
821
- .h-fill {
822
- height: -webkit-fill-available;
823
- }
824
-
825
821
  .min-h-fill {
826
822
  min-height: -webkit-fill-available;
823
+ min-height: -moz-available;
824
+ min-height: fill-available;
827
825
  }
828
826
 
829
827
  ::-webkit-scrollbar {
@@ -1595,14 +1593,14 @@ pre[class*="language-"] {
1595
1593
  height: 0.75rem;
1596
1594
  }
1597
1595
 
1598
- .h-\[11px\] {
1599
- height: 11px;
1600
- }
1601
-
1602
1596
  .h-screen {
1603
1597
  height: 100vh;
1604
1598
  }
1605
1599
 
1600
+ .h-\[11px\] {
1601
+ height: 11px;
1602
+ }
1603
+
1606
1604
  .h-3\.5 {
1607
1605
  height: 0.875rem;
1608
1606
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lookbook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.beta.0
4
+ version: 0.3.0.beta.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Perkins