@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 +12 -0
- package/dist/atomic-bricks.css +6 -0
- package/package.json +1 -1
- package/src/_base.css +4 -0
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:
|
package/dist/atomic-bricks.css
CHANGED
|
@@ -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