@vialiq/flux-ui 0.14.0 → 0.15.0

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.
@@ -222,4 +222,31 @@
222
222
  animation: none !important;
223
223
  }
224
224
  }
225
+
226
+ /* Responsive Behavior (Mobile) */
227
+ @media (max-width: #{tokens.$breakpoint-sm - 1px}) {
228
+ .modal-dialog:not(.modal-variant-drawer) {
229
+ max-width: 100vw !important;
230
+ width: 100vw !important;
231
+ width: 100dvw !important;
232
+ max-height: 100vh !important;
233
+ height: 100vh !important;
234
+ height: 100dvh !important;
235
+ border-radius: 0 !important;
236
+ margin: 0 !important;
237
+ transform: none !important; // Prevent dragging from offsetting it off-screen
238
+ }
239
+
240
+ .modal-header {
241
+ padding: tokens.$spacing-md; // slightly tighter padding on mobile
242
+ }
243
+
244
+ .modal-body {
245
+ padding: tokens.$spacing-md;
246
+ }
247
+
248
+ .modal-footer {
249
+ padding: tokens.$spacing-md;
250
+ }
251
+ }
225
252
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vialiq/flux-ui",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"