mantenimento-app 2.4.14 → 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.
@@ -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.14"></script>
655
+ <script src="app.js?v=2.4.15"></script>
656
656
  </body>
657
657
  </html>
658
658
 
@@ -954,21 +954,46 @@
954
954
  }
955
955
 
956
956
  .first-home-mortgage-table-wrap {
957
- overflow-x: auto;
957
+ overflow-x: hidden;
958
958
  padding-bottom: 2px;
959
959
  }
960
960
 
961
961
  .first-home-mortgage-table {
962
- width: max-content;
963
- min-width: 100%;
962
+ width: 100%;
963
+ min-width: 0;
964
964
  border-collapse: collapse;
965
- table-layout: auto;
965
+ table-layout: fixed;
966
966
  border: 1px solid rgba(27, 141, 127, 0.16);
967
967
  border-radius: 12px;
968
968
  overflow: hidden;
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;
@@ -993,33 +1018,22 @@
993
1018
  display: flex;
994
1019
  align-items: center;
995
1020
  gap: 5px;
996
- flex-wrap: nowrap;
1021
+ flex-wrap: wrap;
997
1022
  line-height: 1.15;
998
1023
  }
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%;
1006
- }
1007
-
1008
- .first-home-mortgage-table #primaCasaValoreLocativo,
1009
- .first-home-mortgage-table #primaCasaMutuoImporto {
1010
- min-width: 116px;
1011
- }
1012
-
1013
- .first-home-mortgage-table #primaCasaMutuoScadenza {
1014
- min-width: 132px;
1015
- }
1016
-
1017
- .first-home-mortgage-table #primaCasaAssegnataA {
1018
- min-width: 220px;
1032
+ min-width: 0;
1019
1033
  }
1020
1034
 
1021
1035
  .first-home-mortgage-table-check-col {
1022
- width: 132px;
1036
+ min-width: 88px;
1023
1037
  }
1024
1038
 
1025
1039
  .first-home-mortgage-table-check-cell {
@@ -1033,6 +1047,16 @@
1033
1047
  margin: 0;
1034
1048
  }
1035
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
+ }
1058
+ }
1059
+
1036
1060
  .extra-box-first-home .field {
1037
1061
  border-radius: 12px;
1038
1062
  padding: 8px 9px 7px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mantenimento-app",
3
- "version": "2.4.14",
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",