mantenimento-app 2.4.13 → 2.4.15

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.
@@ -352,12 +352,6 @@
352
352
  <div class="extra-box-title" id="firstHomeBoxTitle">Mutuo prima casa ceduta</div>
353
353
  <div class="extra-box-note" id="firstHomeBoxNote">Dichiara se esiste un mutuo sulla prima casa dei coniugi ceduta a uno dei due: il modello considera il trasferimento implicito quando la casa e assegnata al collocatario.</div>
354
354
  <div class="extra-grid">
355
- <div class="field">
356
- <label for="primaCasaMutuoEnabled" class="label-row"><span id="lblPrimaCasaMutuoEnabled">Mutuo su prima casa dei coniugi</span>
357
- <span class="hint" id="hintPrimaCasaMutuoEnabled" title="Attiva per includere il mutuo della prima casa ceduta nei benefici compensativi.">i</span>
358
- </label>
359
- <input id="primaCasaMutuoEnabled" type="checkbox" />
360
- </div>
361
355
  <div class="field first-home-mortgage-table-field">
362
356
  <div class="first-home-mortgage-table-wrap">
363
357
  <table class="first-home-mortgage-table" aria-label="Dati mutuo prima casa">
@@ -383,6 +377,11 @@
383
377
  <span class="hint" id="hintPrimaCasaAssegnataA" title="Seleziona il coniuge a cui e ceduta la prima casa.">i</span>
384
378
  </span>
385
379
  </th>
380
+ <th class="first-home-mortgage-table-check-col">
381
+ <span class="label-row"><span id="lblPrimaCasaMutuoEnabled">Mutuo su prima casa dei coniugi</span>
382
+ <span class="hint" id="hintPrimaCasaMutuoEnabled" title="Attiva per includere il mutuo della prima casa ceduta nei benefici compensativi.">i</span>
383
+ </span>
384
+ </th>
386
385
  </tr>
387
386
  </thead>
388
387
  <tbody>
@@ -397,6 +396,7 @@
397
396
  <option value="2">Coniuge 2</option>
398
397
  </select>
399
398
  </td>
399
+ <td class="first-home-mortgage-table-check-cell"><input id="primaCasaMutuoEnabled" type="checkbox" /></td>
400
400
  </tr>
401
401
  </tbody>
402
402
  </table>
@@ -652,7 +652,7 @@
652
652
  <script src="supabase.min.js"></script>
653
653
  <script src="fabric.min.js"></script>
654
654
  <script src="html2pdf.bundle.min.js"></script>
655
- <script src="app.js?v=2.4.13"></script>
655
+ <script src="app.js?v=2.4.15"></script>
656
656
  </body>
657
657
  </html>
658
658
 
@@ -954,7 +954,7 @@
954
954
  }
955
955
 
956
956
  .first-home-mortgage-table-wrap {
957
- overflow-x: visible;
957
+ overflow-x: hidden;
958
958
  padding-bottom: 2px;
959
959
  }
960
960
 
@@ -969,6 +969,31 @@
969
969
  background: rgba(255, 255, 255, 0.55);
970
970
  }
971
971
 
972
+ .first-home-mortgage-table th:nth-child(1),
973
+ .first-home-mortgage-table td:nth-child(1) {
974
+ width: 22%;
975
+ }
976
+
977
+ .first-home-mortgage-table th:nth-child(2),
978
+ .first-home-mortgage-table td:nth-child(2) {
979
+ width: 22%;
980
+ }
981
+
982
+ .first-home-mortgage-table th:nth-child(3),
983
+ .first-home-mortgage-table td:nth-child(3) {
984
+ width: 14%;
985
+ }
986
+
987
+ .first-home-mortgage-table th:nth-child(4),
988
+ .first-home-mortgage-table td:nth-child(4) {
989
+ width: 30%;
990
+ }
991
+
992
+ .first-home-mortgage-table th:nth-child(5),
993
+ .first-home-mortgage-table td:nth-child(5) {
994
+ width: 12%;
995
+ }
996
+
972
997
  .first-home-mortgage-table th {
973
998
  text-align: left;
974
999
  font-size: 0.68rem;
@@ -999,10 +1024,37 @@
999
1024
 
1000
1025
  .first-home-mortgage-table input {
1001
1026
  width: 100%;
1027
+ min-width: 0;
1002
1028
  }
1003
1029
 
1004
1030
  .first-home-mortgage-table select {
1005
1031
  width: 100%;
1032
+ min-width: 0;
1033
+ }
1034
+
1035
+ .first-home-mortgage-table-check-col {
1036
+ min-width: 88px;
1037
+ }
1038
+
1039
+ .first-home-mortgage-table-check-cell {
1040
+ text-align: center;
1041
+ vertical-align: middle;
1042
+ }
1043
+
1044
+ .first-home-mortgage-table-check-cell input[type="checkbox"] {
1045
+ width: 22px;
1046
+ height: 22px;
1047
+ margin: 0;
1048
+ }
1049
+
1050
+ @media (max-width: 980px) {
1051
+ .first-home-mortgage-table-wrap {
1052
+ overflow-x: auto;
1053
+ }
1054
+
1055
+ .first-home-mortgage-table {
1056
+ min-width: 900px;
1057
+ }
1006
1058
  }
1007
1059
 
1008
1060
  .extra-box-first-home .field {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mantenimento-app",
3
- "version": "2.4.13",
3
+ "version": "2.4.15",
4
4
  "description": "Frontend + backend architecture for the mantenimento calculator",
5
5
  "type": "commonjs",
6
6
  "main": "backend/calculate-model.js",