@solidstarters/solid-core-ui 1.1.29 → 1.1.30

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.
Files changed (61) hide show
  1. package/dist/components/auth/AuthLayout.d.ts.map +1 -1
  2. package/dist/components/auth/AuthLayout.js +2 -1
  3. package/dist/components/auth/AuthLayout.js.map +1 -1
  4. package/dist/components/auth/SolidLogin.js +2 -2
  5. package/dist/components/auth/SolidLogin.js.map +1 -1
  6. package/dist/components/auth/SolidRegister.d.ts.map +1 -1
  7. package/dist/components/auth/SolidRegister.js +2 -2
  8. package/dist/components/auth/SolidRegister.js.map +1 -1
  9. package/dist/components/core/common/FilterComponent.d.ts.map +1 -1
  10. package/dist/components/core/common/FilterComponent.js +1 -1
  11. package/dist/components/core/common/FilterComponent.js.map +1 -1
  12. package/dist/components/core/common/SolidConfigureLayoutElement.js +1 -1
  13. package/dist/components/core/common/SolidConfigureLayoutElement.js.map +1 -1
  14. package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
  15. package/dist/components/core/form/SolidFormView.js +11 -4
  16. package/dist/components/core/form/SolidFormView.js.map +1 -1
  17. package/dist/components/core/list/SolidListView.d.ts.map +1 -1
  18. package/dist/components/core/list/SolidListView.js +43 -40
  19. package/dist/components/core/list/SolidListView.js.map +1 -1
  20. package/dist/components/core/model/CreateModel.d.ts.map +1 -1
  21. package/dist/components/core/model/CreateModel.js +1 -1
  22. package/dist/components/core/model/CreateModel.js.map +1 -1
  23. package/dist/components/core/model/FieldMetaData.js +1 -1
  24. package/dist/components/core/model/FieldMetaData.js.map +1 -1
  25. package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -1
  26. package/dist/components/core/model/FieldMetaDataForm.js +5 -5
  27. package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
  28. package/dist/components/core/model/FieldSelector.js +1 -1
  29. package/dist/components/core/model/FieldSelector.js.map +1 -1
  30. package/dist/components/core/model/ModelMetaData.d.ts.map +1 -1
  31. package/dist/components/core/model/ModelMetaData.js +30 -30
  32. package/dist/components/core/model/ModelMetaData.js.map +1 -1
  33. package/dist/components/core/module/CreateModule.d.ts.map +1 -1
  34. package/dist/components/core/module/CreateModule.js +23 -22
  35. package/dist/components/core/module/CreateModule.js.map +1 -1
  36. package/dist/components/core/users/CreateUser.d.ts.map +1 -1
  37. package/dist/components/core/users/CreateUser.js +13 -14
  38. package/dist/components/core/users/CreateUser.js.map +1 -1
  39. package/dist/components/layout/user-profile-menu.d.ts.map +1 -1
  40. package/dist/components/layout/user-profile-menu.js +1 -1
  41. package/dist/components/layout/user-profile-menu.js.map +1 -1
  42. package/dist/resources/globals.css +227 -11
  43. package/dist/resources/stylesheets/_main.scss +3 -1
  44. package/package.json +1 -1
  45. package/src/components/auth/AuthLayout.tsx +11 -2
  46. package/src/components/auth/SolidLogin.tsx +2 -2
  47. package/src/components/auth/SolidRegister.tsx +42 -36
  48. package/src/components/core/common/FilterComponent.tsx +3 -2
  49. package/src/components/core/common/SolidConfigureLayoutElement.tsx +1 -1
  50. package/src/components/core/form/SolidFormView.tsx +26 -7
  51. package/src/components/core/list/SolidListView.tsx +14 -0
  52. package/src/components/core/model/CreateModel.tsx +2 -0
  53. package/src/components/core/model/FieldMetaData.tsx +3 -3
  54. package/src/components/core/model/FieldMetaDataForm.tsx +14 -17
  55. package/src/components/core/model/FieldSelector.tsx +1 -1
  56. package/src/components/core/model/ModelMetaData.tsx +158 -158
  57. package/src/components/core/module/CreateModule.tsx +178 -173
  58. package/src/components/core/users/CreateUser.tsx +123 -120
  59. package/src/components/layout/user-profile-menu.tsx +6 -5
  60. package/src/resources/globals.css +227 -11
  61. package/src/resources/stylesheets/_main.scss +3 -1
@@ -276,132 +276,135 @@ const CreateUser = ({ data, params }: any) => {
276
276
  <div className="p-4 solid-form-content">
277
277
  <div className="grid">
278
278
  <div className="col-8 mx-auto">
279
- <p className="form-wrapper-heading text-base">Basic Info</p>
280
- <div className="grid formgrid">
281
- <div className="field col-6 flex flex-column gap-2">
282
- <label htmlFor="fullName" className="form-field-label">
283
- Full Name
284
- </label>
285
- <InputText
286
- type="text"
287
- id="fullName"
288
- name="fullName"
289
- autoComplete={"off"}
290
- onChange={formik.handleChange}
291
- value={formik.values.fullName}
292
- className={classNames("", {
293
- "p-invalid": formik.touched.fullName && formik.errors.fullName,
294
- })}
295
- />
296
- {isFormFieldValid(formik, "fullName") && (
297
- <Message
298
- severity="error"
299
- text={formik?.errors?.fullName?.toString()}
279
+ {/* <p className="form-wrapper-heading text-base">Basic Info</p> */}
280
+ <Panel header="Basic Info" className="solid-column-panel">
281
+ <div className="grid formgrid mt-3">
282
+ <div className="field col-6 flex flex-column gap-2">
283
+ <label htmlFor="fullName" className="form-field-label">
284
+ Full Name
285
+ </label>
286
+ <InputText
287
+ type="text"
288
+ id="fullName"
289
+ name="fullName"
290
+ autoComplete={"off"}
291
+ onChange={formik.handleChange}
292
+ value={formik.values.fullName}
293
+ className={classNames("", {
294
+ "p-invalid": formik.touched.fullName && formik.errors.fullName,
295
+ })}
300
296
  />
301
- )}
302
- </div>
303
- <div className="field col-6 flex flex-column gap-2">
304
- <label htmlFor="username" className="form-field-label">
305
- Username
306
- </label>
307
- <InputText
308
- type="text"
309
- id="username"
310
- name="username"
311
- autoComplete={"off"}
312
- disabled={data ? true : false}
313
- onChange={formik.handleChange}
314
- value={formik.values.username}
315
- className={classNames("", {
316
- "p-invalid": formik.touched.username && formik.errors.username,
317
- })}
318
- />
319
- {isFormFieldValid(formik, "username") && (
320
- <Message
321
- severity="error"
322
- text={formik?.errors?.username?.toString()}
297
+ {isFormFieldValid(formik, "fullName") && (
298
+ <Message
299
+ severity="error"
300
+ text={formik?.errors?.fullName?.toString()}
301
+ />
302
+ )}
303
+ </div>
304
+ <div className="field col-6 flex flex-column gap-2">
305
+ <label htmlFor="username" className="form-field-label">
306
+ Username
307
+ </label>
308
+ <InputText
309
+ type="text"
310
+ id="username"
311
+ name="username"
312
+ autoComplete={"off"}
313
+ disabled={data ? true : false}
314
+ onChange={formik.handleChange}
315
+ value={formik.values.username}
316
+ className={classNames("", {
317
+ "p-invalid": formik.touched.username && formik.errors.username,
318
+ })}
323
319
  />
324
- )}
325
- </div>
326
- <div className="field col-6 flex flex-column gap-1 mt-4">
327
- <label htmlFor="email" className="form-field-label">
328
- Email
329
- </label>
330
- <InputText
331
- type="text"
332
- id="email"
333
- name="email"
334
- autoComplete={"off"}
335
- disabled={data ? true : false}
336
- onChange={formik.handleChange}
337
- value={formik.values.email}
338
- className={classNames("", {
339
- "p-invalid": formik.touched.email && formik.errors.email,
340
- })}
341
- />
342
- {isFormFieldValid(formik, "email") && (
343
- <Message
344
- severity="error"
345
- text={formik?.errors?.email?.toString()}
320
+ {isFormFieldValid(formik, "username") && (
321
+ <Message
322
+ severity="error"
323
+ text={formik?.errors?.username?.toString()}
324
+ />
325
+ )}
326
+ </div>
327
+ <div className="field col-6 flex flex-column gap-1 mt-4">
328
+ <label htmlFor="email" className="form-field-label">
329
+ Email
330
+ </label>
331
+ <InputText
332
+ type="text"
333
+ id="email"
334
+ name="email"
335
+ autoComplete={"off"}
336
+ disabled={data ? true : false}
337
+ onChange={formik.handleChange}
338
+ value={formik.values.email}
339
+ className={classNames("", {
340
+ "p-invalid": formik.touched.email && formik.errors.email,
341
+ })}
346
342
  />
347
- )}
348
- </div>
349
- <div className="field col-6 flex flex-column gap-1 mt-4">
350
- <label htmlFor="mobile" className="form-field-label">
351
- Mobile
352
- </label>
353
- <InputText
354
- type="text"
355
- id="mobile"
356
- name="mobile"
357
- autoComplete={"off"}
358
- onChange={formik.handleChange}
359
- value={formik.values.mobile}
360
- className={classNames("", {
361
- "p-invalid": formik.touched.mobile && formik.errors.mobile,
362
- })}
363
- />
364
- {isFormFieldValid(formik, "mobile ") && (
365
- <Message
366
- severity="error"
367
- text={formik?.errors?.mobile?.toString()}
343
+ {isFormFieldValid(formik, "email") && (
344
+ <Message
345
+ severity="error"
346
+ text={formik?.errors?.email?.toString()}
347
+ />
348
+ )}
349
+ </div>
350
+ <div className="field col-6 flex flex-column gap-1 mt-4">
351
+ <label htmlFor="mobile" className="form-field-label">
352
+ Mobile
353
+ </label>
354
+ <InputText
355
+ type="text"
356
+ id="mobile"
357
+ name="mobile"
358
+ autoComplete={"off"}
359
+ onChange={formik.handleChange}
360
+ value={formik.values.mobile}
361
+ className={classNames("", {
362
+ "p-invalid": formik.touched.mobile && formik.errors.mobile,
363
+ })}
368
364
  />
369
- )}
370
- </div>
371
- <div className="field col-6 flex flex-column gap-2 my-4">
372
- <label htmlFor="Password" className="form-field-label">
373
- Password
374
- </label>
375
- <Password
376
- id="password"
377
- autoComplete="off"
378
- aria-autocomplete="none"
379
- value={formik.values.password}
380
- onChange={(e) => {
381
- formik.setFieldValue("password", e.target.value);
382
- }}
383
- toggleMask
384
- className={classNames("", {
385
- "p-invalid": isFormFieldValid(formik, "name"),
386
- })}
387
-
388
- inputClassName="w-full"
389
- feedback={false}
390
- />
391
- {isFormFieldValid(formik, "password") && (
392
- <Message
393
- severity="error"
394
- text={formik?.errors?.password?.toString()}
365
+ {isFormFieldValid(formik, "mobile ") && (
366
+ <Message
367
+ severity="error"
368
+ text={formik?.errors?.mobile?.toString()}
369
+ />
370
+ )}
371
+ </div>
372
+ <div className="field col-6 flex flex-column gap-2 my-4">
373
+ <label htmlFor="Password" className="form-field-label">
374
+ Password
375
+ </label>
376
+ <Password
377
+ id="password"
378
+ autoComplete="off"
379
+ aria-autocomplete="none"
380
+ value={formik.values.password}
381
+ onChange={(e) => {
382
+ formik.setFieldValue("password", e.target.value);
383
+ }}
384
+ toggleMask
385
+ className={classNames("", {
386
+ "p-invalid": isFormFieldValid(formik, "name"),
387
+ })}
388
+
389
+ inputClassName="w-full"
390
+ feedback={false}
395
391
  />
396
- )}
397
- </div>
398
-
399
- </div>
392
+ {isFormFieldValid(formik, "password") && (
393
+ <Message
394
+ severity="error"
395
+ text={formik?.errors?.password?.toString()}
396
+ />
397
+ )}
398
+ </div>
400
399
 
401
- <Divider />
402
- <p className="form-wrapper-heading text-base" style={{ fontSize: 16 }}>Roles</p>
403
- <Panel toggleable header="Roles">
404
- <div className="formgrid grid">
400
+ </div>
401
+ </Panel>
402
+
403
+ {/* <Divider /> */}
404
+ {/* <p className="form-wrapper-heading text-base" style={{ fontSize: 16 }}>Roles</p> */}
405
+
406
+ <Panel toggleable header="Roles" className="solid-column-panel mt-5">
407
+ <div className="formgrid grid mt-4">
405
408
  {rolesData?.data?.records && rolesData?.data?.records.map((role: any, i: number) => (
406
409
  <div key={role.name} className={`field col-6 flex gap-2 ${i >= 2 ? 'mt-3' : ''}`}>
407
410
  <Checkbox
@@ -100,16 +100,17 @@ const UserProfileMenu = () => {
100
100
  </div>
101
101
  </OverlayPanel>
102
102
  </div>
103
- <Dialog header="Logout" headerClassName="py-2" contentClassName="px-0 pb-0" visible={confirmLogout} style={{ width: '20vw' }} onHide={() => { if (!confirmLogout) return; setConfirmLogout(false); }}>
103
+ <Dialog header="Logout" headerClassName="py-2" contentClassName="px-0 pb-0" visible={confirmLogout} style={{ width: '20vw' }} onHide={() => { if (!confirmLogout) return; setConfirmLogout(false); }}
104
+ footer={<div className="flex align-items-center gap-2">
105
+ <Button label="Logout" size="small" onClick={e => logoutHandler()} />
106
+ <Button label="Cancel" size="small" onClick={() => setConfirmLogout(false)} outlined />
107
+ </div>}
108
+ >
104
109
  <Divider className="m-0" />
105
110
  <div className="p-4">
106
111
  <p className="m-0 solid-primary-title" style={{ fontSize: 16 }}>
107
112
  Are you sure you want to log out?
108
113
  </p>
109
- <div className="flex align-items-center gap-2 mt-3">
110
- <Button label="Logout" size="small" onClick={e => logoutHandler()} />
111
- <Button label="Cancel" size="small" onClick={() => setConfirmLogout(false)} outlined />
112
- </div>
113
114
  </div>
114
115
  </Dialog>
115
116
  </div>
@@ -1433,10 +1433,6 @@ li.header-li-px {
1433
1433
  margin: 0 !important;
1434
1434
  }
1435
1435
 
1436
- .field-popup-form {
1437
- padding: 15px;
1438
- }
1439
-
1440
1436
  .field-table .p-datatable .p-datatable-tbody>tr>td {
1441
1437
  padding: 0;
1442
1438
  padding-left: 10px;
@@ -1668,7 +1664,7 @@ li.header-li-px {
1668
1664
  }
1669
1665
 
1670
1666
  .solid-form-wrapper .solid-form-content {
1671
- height: calc(100vh - 110px);
1667
+ height: calc(100vh - 111px);
1672
1668
  /* If No Breadcrumb */
1673
1669
  /* height: calc(100vh - 64px); */
1674
1670
  /* if Stepper */
@@ -1697,7 +1693,7 @@ li.header-li-px {
1697
1693
  border-left: none;
1698
1694
  border-top: none;
1699
1695
  border-radius: 0;
1700
- padding: 0.8rem 1rem;
1696
+ padding: 0.8rem 1.5rem;
1701
1697
  font-size: 14px;
1702
1698
  font-weight: 500;
1703
1699
  text-transform: capitalize;
@@ -2133,10 +2129,19 @@ li.header-li-px {
2133
2129
 
2134
2130
  .auth-container {
2135
2131
  min-width: 525px;
2132
+ padding: 54px;
2133
+ border-radius: 1.25rem;
2134
+ backdrop-filter: blur(25px);
2135
+ box-shadow: 0px 4px 4px 0px rgba(49, 106, 215, 0.05);
2136
+ }
2137
+
2138
+ .auth-container h2 {
2139
+ margin-top: 0;
2136
2140
  }
2137
2141
 
2138
2142
  .auth-container.side {
2139
- max-width: 65%;
2143
+ /* max-width: 65%; */
2144
+ width: 65%;
2140
2145
  margin: 0 auto;
2141
2146
  }
2142
2147
 
@@ -2251,10 +2256,11 @@ li.header-li-px {
2251
2256
  }
2252
2257
 
2253
2258
  .customize-layout-panel.p-overlaypanel {
2259
+ position: absolute;
2254
2260
  /* left: 1400px !important;
2255
2261
  top: 21% !important; */
2256
- left: 1370px !important;
2257
- top: 19% !important;
2262
+ left: 73.5% !important;
2263
+ top: 15% !important;
2258
2264
  }
2259
2265
 
2260
2266
  .solid-auth-footer {
@@ -2306,8 +2312,7 @@ li.header-li-px {
2306
2312
  }
2307
2313
 
2308
2314
  .solid-auth-tabview .p-tabview-panels {
2309
- padding-left: 0;
2310
- padding-right: 0;
2315
+ padding: 0;
2311
2316
  }
2312
2317
 
2313
2318
  .solid-auth-tabview .p-tabview-nav {
@@ -2487,6 +2492,13 @@ li.header-li-px {
2487
2492
 
2488
2493
  .solid-dialog .p-dialog-content {
2489
2494
  padding: 0 !important;
2495
+ border-radius: 0;
2496
+ overflow: hidden;
2497
+ }
2498
+
2499
+ .solid-dialog.p-dialog {
2500
+ border-radius: 8px;
2501
+ overflow: hidden;
2490
2502
  }
2491
2503
 
2492
2504
  .google-auth-button {
@@ -2563,4 +2575,208 @@ li.header-li-px {
2563
2575
 
2564
2576
  .view-media-button.p-button.p-button-text:not(:disabled):hover {
2565
2577
  background-color: transparent;
2578
+ }
2579
+
2580
+
2581
+ .solid-tab-view .p-tabview-panels {
2582
+ padding-top: 24px;
2583
+ padding-left: 0;
2584
+ padding-right: 0;
2585
+ }
2586
+
2587
+ /* .solid-fieldset-header{
2588
+ background-color: #F9F9F9;
2589
+ border-bottom: 1px solid rgba(216, 226, 234, 0.40);
2590
+ padding: 16px 18px;
2591
+ font-weight: 600;
2592
+ color: var(--solid-form-title);
2593
+ font-size: 1rem;
2594
+ }
2595
+
2596
+ .solid-fieldset-content{
2597
+ padding: 0 18px 16px 18px;
2598
+ } */
2599
+
2600
+ .solid-column-panel.p-panel .p-panel-header {
2601
+ border: 1px solid rgba(216, 226, 234, 0.40);
2602
+ background: #F9F9F9;
2603
+ color: var(--solid-form-title);
2604
+ border-top-right-radius: 0.5rem;
2605
+ border-top-left-radius: 0.5rem;
2606
+ }
2607
+
2608
+ .solid-column-panel.p-panel .p-panel-header .p-panel-title {
2609
+ font-weight: 500;
2610
+ }
2611
+
2612
+ .solid-column-panel.p-panel .p-panel-content {
2613
+ border: 1px solid rgba(216, 226, 234, 0.40);
2614
+ border-bottom-right-radius: 0.5rem;
2615
+ border-bottom-left-radius: 0.5rem;
2616
+ border-top: 0;
2617
+ padding: 1px 1.25rem 1.25rem 1.25rem;
2618
+ }
2619
+
2620
+ .view-title {
2621
+ color: var(--solid-title);
2622
+ font-weight: 600;
2623
+ font-size: 16px;
2624
+ }
2625
+
2626
+ .solid-tmenu-left .p-submenu-list {
2627
+ left: auto !important;
2628
+ right: 100% !important;
2629
+ transform: translateX(-5px);
2630
+ /* Adjust position slightly */
2631
+ }
2632
+
2633
+ @media (min-width: 2151px) and (max-width: 2399px) {
2634
+ .customize-layout-panel.p-overlaypanel {
2635
+ position: absolute;
2636
+ left: 78.5% !important;
2637
+ top: 13% !important;
2638
+ }
2639
+ }
2640
+
2641
+ @media (min-width: 1920px) and (max-width: 2150px) {
2642
+ .customize-layout-panel.p-overlaypanel {
2643
+ position: absolute;
2644
+ left: 76% !important;
2645
+ top: 15% !important;
2646
+ }
2647
+ }
2648
+
2649
+
2650
+ @media (min-width: 1700px) and (max-width: 1859px) {
2651
+ .customize-layout-panel.p-overlaypanel {
2652
+ position: absolute;
2653
+ left: 73% !important;
2654
+ top: 15% !important;
2655
+ }
2656
+ }
2657
+
2658
+
2659
+ @media (min-width: 1600px) and (max-width: 1699px) {
2660
+ html {
2661
+ font-size: 95% !important;
2662
+ }
2663
+
2664
+ .auth-container {
2665
+ padding: 45px;
2666
+ }
2667
+
2668
+ .customize-layout-panel.p-overlaypanel {
2669
+ position: absolute;
2670
+ left: 71% !important;
2671
+ top: 17% !important;
2672
+ }
2673
+ }
2674
+
2675
+ /* 1500px - 1599px */
2676
+ @media (min-width: 1500px) and (max-width: 1599px) {
2677
+ html {
2678
+ font-size: 90% !important;
2679
+ }
2680
+
2681
+ .auth-container {
2682
+ padding: 42px;
2683
+ }
2684
+
2685
+ .solid-left-layout .solid-logo,
2686
+ .solid-right-layout .solid-logo {
2687
+ top: 4.5rem !important;
2688
+ }
2689
+
2690
+ .customize-layout-panel.p-overlaypanel {
2691
+ position: absolute;
2692
+ left: 69% !important;
2693
+ top: 17.3% !important;
2694
+ }
2695
+ }
2696
+
2697
+ /* 1400px - 1499px */
2698
+ @media (min-width: 1401px) and (max-width: 1499px) {
2699
+ html {
2700
+ font-size: 85% !important;
2701
+ }
2702
+
2703
+ .auth-container {
2704
+ padding: 38px;
2705
+ }
2706
+
2707
+ .solid-left-layout .solid-logo,
2708
+ .solid-right-layout .solid-logo {
2709
+ top: 4rem;
2710
+ }
2711
+
2712
+ .customize-layout-panel.p-overlaypanel {
2713
+ position: absolute;
2714
+ left: 67% !important;
2715
+ top: 17.5% !important;
2716
+ }
2717
+ }
2718
+
2719
+ /* 1300px - 1399px */
2720
+ @media (min-width: 1300px) and (max-width: 1400px) {
2721
+ html {
2722
+ font-size: 80% !important;
2723
+ }
2724
+
2725
+ .auth-container {
2726
+ padding: 33px;
2727
+ }
2728
+
2729
+ .solid-left-layout .solid-logo,
2730
+ .solid-right-layout .solid-logo {
2731
+ top: 3rem;
2732
+ }
2733
+
2734
+ .customize-layout-panel.p-overlaypanel {
2735
+ position: absolute;
2736
+ left: 63.5% !important;
2737
+ top: 15% !important;
2738
+ }
2739
+ }
2740
+
2741
+ /* 1200px - 1299px */
2742
+ @media (min-width: 1200px) and (max-width: 1299px) {
2743
+ html {
2744
+ font-size: 75% !important;
2745
+ }
2746
+
2747
+ .auth-container {
2748
+ padding: 28px;
2749
+ }
2750
+
2751
+ .solid-left-layout .solid-logo,
2752
+ .solid-right-layout .solid-logo {
2753
+ top: 3rem;
2754
+ }
2755
+
2756
+ .customize-layout-panel.p-overlaypanel {
2757
+ position: absolute;
2758
+ left: 61% !important;
2759
+ top: 15% !important;
2760
+ }
2761
+ }
2762
+
2763
+ /* 1024px - 1199px */
2764
+ @media (min-width: 1024px) and (max-width: 1199px) {
2765
+ html {
2766
+ font-size: 70% !important;
2767
+ }
2768
+
2769
+ .auth-container {
2770
+ padding: 24px;
2771
+ }
2772
+
2773
+ .solid-left-layout .solid-logo,
2774
+ .solid-right-layout .solid-logo {
2775
+ top: 3rem;
2776
+ }
2777
+ .customize-layout-panel.p-overlaypanel {
2778
+ position: absolute;
2779
+ left: 59% !important;
2780
+ top: 14% !important;
2781
+ }
2566
2782
  }
@@ -4,6 +4,7 @@
4
4
 
5
5
  html {
6
6
  height: 100%;
7
+ font-size: 100%;
7
8
  }
8
9
 
9
10
  body {
@@ -21,7 +22,8 @@ body {
21
22
  /* width */
22
23
  ::-webkit-scrollbar {
23
24
  width: 4px;
24
- height: 4px; /* For horizontal scrollbar */
25
+ height: 4px;
26
+ /* For horizontal scrollbar */
25
27
  }
26
28
 
27
29
  /* Track */