@anydigital/atomic-bricks 1.0.0-alpha.2 → 1.0.0-alpha.3

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.
package/README.md CHANGED
@@ -36,6 +36,18 @@ html, body {
36
36
 
37
37
  This is automatically applied when you include the stylesheet.
38
38
 
39
+ ### Full Viewport Height
40
+
41
+ Ensures the body element takes at least the full height of the viewport using dynamic viewport height for better mobile support:
42
+
43
+ ```css
44
+ body {
45
+ min-height: 100dvh;
46
+ }
47
+ ```
48
+
49
+ This is automatically applied when you include the stylesheet.
50
+
39
51
  ### Breakout CSS
40
52
 
41
53
  Includes [breakout-css](https://github.com/anydigital/breakout-css) utilities for breaking out images and figures beyond their container width. Use the `.breakout` class to allow elements to extend beyond their parent container:
@@ -9,6 +9,12 @@ html, body {
9
9
  overflow-x: clip;
10
10
  }
11
11
 
12
+ /* Ensures body takes at least the full height of the viewport (using dynamic viewport height for better mobile support) */
13
+
14
+ body {
15
+ min-height: 100dvh;
16
+ }
17
+
12
18
  /* Breakout CSS - Framework-agnostic utilities for breaking out images and figures */
13
19
 
14
20
  .breakout {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anydigital/atomic-bricks",
3
- "version": "1.0.0-alpha.2",
3
+ "version": "1.0.0-alpha.3",
4
4
  "description": "Framework-agnostic CSS utility helpers for modern web development",
5
5
  "main": "dist/atomic-bricks.css",
6
6
  "style": "dist/atomic-bricks.css",
package/src/_base.css CHANGED
@@ -3,3 +3,7 @@ html, body {
3
3
  overflow-x: clip;
4
4
  }
5
5
 
6
+ /* Ensures body takes at least the full height of the viewport (using dynamic viewport height for better mobile support) */
7
+ body {
8
+ min-height: 100dvh;
9
+ }