@linzjs/lui 18.4.3 → 18.4.4

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.
@@ -1,37 +1,45 @@
1
1
  @use '../../Core.scss' as lui;
2
+ @use "../../Foundation/Utilities" as *;
3
+
4
+ $MaxContentWidth: rem(800px);
5
+ $MaxImgWidth: rem(280px);
2
6
 
3
7
  .LuiErrorPage {
4
- display: flex;
5
- flex-direction: column;
8
+ display: grid;
9
+ grid-template-columns: 1fr;
10
+ grid-template-rows: minmax(min-content, max-content) 1fr minmax(
11
+ min-content,
12
+ max-content
13
+ );
14
+ height: 100%;
6
15
  }
7
16
 
8
17
  .LuiErrorPage-wrapper {
9
- margin-top: 32px;
10
- margin-bottom: 96px;
11
18
  display: grid;
12
- grid-template-columns: repeat(12, 1fr);
13
- gap: 24px;
14
- }
19
+ grid-template-columns: 1fr;
15
20
 
16
- .LuiErrorPage-content {
17
- grid-column: span 12;
18
- @include lui.breakpoint(sm) {
19
- grid-column: span 7;
20
- }
21
21
  @include lui.breakpoint(md) {
22
- grid-column: span 6;
22
+ grid-template-columns: 1fr $MaxImgWidth;
23
+ }
24
+ max-width: $MaxContentWidth;
25
+ margin: lui.$unit-xl auto;
26
+ .ErrorPageHeading {
27
+ margin-top: 0;
23
28
  }
24
29
  }
25
30
 
26
31
  .LuiErrorPage-image {
27
- grid-column: span 12;
28
- @include lui.breakpoint(sm) {
29
- grid-column: span 5;
30
- }
32
+ justify-self: center;
31
33
  @include lui.breakpoint(md) {
32
- grid-column: span 6;
34
+ justify-self: start;
33
35
  }
34
36
  img {
35
- max-width: 280px;
37
+ display: block;
38
+ width: $MaxImgWidth;
39
+ height: auto;
40
+ margin-top: lui.$unit-sm;
41
+ @include lui.breakpoint(md) {
42
+ margin-top: 0;
43
+ }
36
44
  }
37
45
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "18.4.3",
2
+ "version": "18.4.4",
3
3
  "license": "MIT",
4
4
  "repository": {
5
5
  "type": "git",