style: reduce form field thickness and button size

This commit is contained in:
Your Name (aider) committed 2025-04-28 13:52:01 +08:00
1 parent 5869a14876
commit 5f853a049c
1 file changed
+6 -6
+6 -6
View File
@@ -60,17 +60,17 @@
<table> <table>
<tr> <tr>
<td><label class="block text-sm font-medium mb-1" for="login-username">username:</label></td> <td><label class="block text-sm font-medium mb-1" for="login-username">username:</label></td>
<td><input class="px-3 py-2 border border-gray-300 rounded" type="text" id="login-username" name="username" required></td> <td><input class="px-3 py-1 border border-gray-300 rounded" type="text" id="login-username" name="username" required></td>
</tr> </tr>
<tr> <tr>
<td><label class="block text-sm font-medium mb-1" for="login-password">password:</label></td> <td><label class="block text-sm font-medium mb-1" for="login-password">password:</label></td>
<td><input class="px-3 py-2 border border-gray-300 rounded" type="password" id="login-password" name="password" required></td> <td><input class="px-3 py-1 border border-gray-300 rounded" type="password" id="login-password" name="password" required></td>
</tr> </tr>
<tr> <tr>
<td colspan="2"><div class="recaptcha-placeholder">[reCAPTCHA placeholder]</div></td> <td colspan="2"><div class="recaptcha-placeholder">[reCAPTCHA placeholder]</div></td>
</tr> </tr>
<tr> <tr>
<td colspan="2"><button class="px-4 py-2 bg-primary text-white rounded hover:bg-primary-dark" type="submit">Login</button></td> <td colspan="2"><button class="px-2 py-1 bg-primary text-white rounded hover:bg-primary-dark" type="submit">Login</button></td>
</tr> </tr>
</table> </table>
</form> </form>
@@ -86,17 +86,17 @@
<table> <table>
<tr> <tr>
<td><label class="block text-sm font-medium mb-1" for="signup-username">username:</label></td> <td><label class="block text-sm font-medium mb-1" for="signup-username">username:</label></td>
<td><input class="px-3 py-2 border border-gray-300 rounded" type="text" id="signup-username" name="username" required></td> <td><input class="px-3 py-1 border border-gray-300 rounded" type="text" id="signup-username" name="username" required></td>
</tr> </tr>
<tr> <tr>
<td><label class="block text-sm font-medium mb-1" for="signup-password">password:</label></td> <td><label class="block text-sm font-medium mb-1" for="signup-password">password:</label></td>
<td><input class="px-3 py-2 border border-gray-300 rounded" type="password" id="signup-password" name="password" required></td> <td><input class="px-3 py-1 border border-gray-300 rounded" type="password" id="signup-password" name="password" required></td>
</tr> </tr>
<tr> <tr>
<td colspan="2"><div class="recaptcha-placeholder">[reCAPTCHA placeholder]</div></td> <td colspan="2"><div class="recaptcha-placeholder">[reCAPTCHA placeholder]</div></td>
</tr> </tr>
<tr> <tr>
<td colspan="2"><button class="px-4 py-2 bg-primary text-white rounded hover:bg-primary-dark" type="submit">Create Account</button></td> <td colspan="2"><button class="px-2 py-1 bg-primary text-white rounded hover:bg-primary-dark" type="submit">Create Account</button></td>
</tr> </tr>
</table> </table>
</form> </form>