@drivy/cobalt 3.0.5 → 3.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drivy/cobalt",
3
- "version": "3.0.5",
3
+ "version": "3.0.6",
4
4
  "description": "Opinionated design system for Drivy's projects.",
5
5
  "main": "index.js",
6
6
  "types": "types/src/index.d.ts",
@@ -13,11 +13,6 @@
13
13
 
14
14
  @include breakpoint($until: "md") {
15
15
  justify-content: flex-end;
16
-
17
- &::before,
18
- &::after {
19
- content: none;
20
- }
21
16
  }
22
17
 
23
18
  // Top spacing : 10vh by default, can shrink to 32px
@@ -26,6 +21,10 @@
26
21
  min-height: var(--dialog-margin-min);
27
22
 
28
23
  content: "";
24
+
25
+ @include breakpoint($until: "md") {
26
+ content: none;
27
+ }
29
28
  }
30
29
 
31
30
  // Bottom spacing : can shrink to 32px when max-height is reached
@@ -34,6 +33,10 @@
34
33
  min-height: var(--dialog-margin-min);
35
34
 
36
35
  content: "";
36
+
37
+ @include breakpoint($until: "md") {
38
+ content: none;
39
+ }
37
40
  }
38
41
 
39
42
  &__overlay {
@@ -111,6 +114,10 @@
111
114
  .cobalt-modal__content:not([hidden]) {
112
115
  flex: 1 1 0;
113
116
  max-height: calc(100% - 2 * var(--dialog-margin-min));
117
+
118
+ @include breakpoint($until: "md") {
119
+ max-height: calc(100% - theme("spacing.xl"));
120
+ }
114
121
  }
115
122
  }
116
123