@gleich/ui 1.2.1 → 1.2.2

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.
Files changed (2) hide show
  1. package/dist/layout.svelte +17 -7
  2. package/package.json +1 -1
@@ -6,8 +6,10 @@
6
6
  </script>
7
7
 
8
8
  <div class="container">
9
- <div class="children">
10
- {@render children()}
9
+ <div class="main">
10
+ <div class="page-content">
11
+ {@render children()}
12
+ </div>
11
13
  <div class="copyright">
12
14
  <Copyright {repo} />
13
15
  </div>
@@ -23,17 +25,19 @@
23
25
  overflow: hidden;
24
26
  }
25
27
 
26
- .children {
28
+ .main {
27
29
  display: flex;
28
- box-sizing: border-box;
29
- align-items: center;
30
30
  flex-direction: column;
31
31
  width: 100%;
32
- animation: fade-up 0.5s ease-out forwards;
33
- opacity: 0;
34
32
  flex: 1;
35
33
  max-width: 1040px;
36
34
  padding: 70px 20px;
35
+ animation: fade-up 0.5s ease-out forwards;
36
+ opacity: 0;
37
+ }
38
+
39
+ .page-content {
40
+ flex: 1;
37
41
  }
38
42
 
39
43
  .copyright {
@@ -41,6 +45,12 @@
41
45
  width: 100%;
42
46
  }
43
47
 
48
+ @media (max-width: 450px) {
49
+ .main {
50
+ padding: 50px 10px;
51
+ }
52
+ }
53
+
44
54
  @-webkit-keyframes fade-up {
45
55
  from {
46
56
  opacity: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gleich/ui",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "dev": "vite dev --open",