Spaces:
Running
Running
Add 2 files
Browse files- index.html +7 -2
- prompts.txt +2 -1
index.html
CHANGED
@@ -60,6 +60,11 @@
|
|
60 |
.pulse {
|
61 |
animation: pulse 2s infinite;
|
62 |
}
|
|
|
|
|
|
|
|
|
|
|
63 |
</style>
|
64 |
</head>
|
65 |
<body class="bg-gray-50 font-sans">
|
@@ -102,11 +107,11 @@
|
|
102 |
Peso (kg)
|
103 |
<span class="tooltip ml-1">
|
104 |
<i class="fas fa-info-circle text-blue-500"></i>
|
105 |
-
<span class="tooltip-text">Informe seu peso em quilogramas. Ex:
|
106 |
</span>
|
107 |
</label>
|
108 |
<div class="relative">
|
109 |
-
<input type="number" id="weight" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="Ex: 68" min="30" max="300" required>
|
110 |
<span class="absolute right-3 top-3 text-gray-500">kg</span>
|
111 |
</div>
|
112 |
</div>
|
|
|
60 |
.pulse {
|
61 |
animation: pulse 2s infinite;
|
62 |
}
|
63 |
+
input[type=number]::-webkit-inner-spin-button,
|
64 |
+
input[type=number]::-webkit-outer-spin-button {
|
65 |
+
-webkit-appearance: none;
|
66 |
+
margin: 0;
|
67 |
+
}
|
68 |
</style>
|
69 |
</head>
|
70 |
<body class="bg-gray-50 font-sans">
|
|
|
107 |
Peso (kg)
|
108 |
<span class="tooltip ml-1">
|
109 |
<i class="fas fa-info-circle text-blue-500"></i>
|
110 |
+
<span class="tooltip-text">Informe seu peso em quilogramas com até 1 casa decimal. Ex: 68.5kg</span>
|
111 |
</span>
|
112 |
</label>
|
113 |
<div class="relative">
|
114 |
+
<input type="number" id="weight" step="0.1" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="Ex: 68.5" min="30" max="300" required>
|
115 |
<span class="absolute right-3 top-3 text-gray-500">kg</span>
|
116 |
</div>
|
117 |
</div>
|
prompts.txt
CHANGED
@@ -1 +1,2 @@
|
|
1 |
-
Preciso que mostre na resposta do IMC qual a faixa de peso ideal para aquele IMC encontrado. Verifique a regra publica para isso.
|
|
|
|
1 |
+
Preciso que mostre na resposta do IMC qual a faixa de peso ideal para aquele IMC encontrado. Verifique a regra publica para isso.
|
2 |
+
Preciso que ajuste o peso para que aceite fração em ate 1 digito, ou seja, permita que o peso tenha decimal.
|