From 84d80ef4db4dee7ce811b6665eaa66aba2b499f4 Mon Sep 17 00:00:00 2001 From: Donald Burr Date: Sat, 17 Oct 2015 22:54:12 -0700 Subject: [PATCH] Fix text fields so they don't look so dorky Now using so that the text field will pop up the numeric keyboard on both iOS and Android. However this makes the "size=" no longer function. So we set a fixed size for all text fields using CSS. Kinda hackish, but it works. --- web_app/css/sif-tools.css | 4 ++++ web_app/sif_tools.html | 18 +++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/web_app/css/sif-tools.css b/web_app/css/sif-tools.css index 63a3455..2b6f95b 100644 --- a/web_app/css/sif-tools.css +++ b/web_app/css/sif-tools.css @@ -21,3 +21,7 @@ strong { table { table-layout: fixed; } + +input[type=number]{ + width: 80px; +} \ No newline at end of file diff --git a/web_app/sif_tools.html b/web_app/sif_tools.html index 22efb81..313a0a4 100644 --- a/web_app/sif_tools.html +++ b/web_app/sif_tools.html @@ -34,11 +34,11 @@

Rank Calculator

- Current Rank:    + Current Rank:   
- Current EXP (optional):    + Current EXP (optional):   
- Desired Rank:    + Desired Rank:   
Game Version:    + Current Love Gems (optional):   

Mode:
Number of gems on date?
@@ -72,7 +72,7 @@ Date:   
- Number of gems desired:    + Number of gems desired:   


Verbose Mode
@@ -100,18 +100,18 @@
- Current Level:    + Current Level:   
- Current EXP (optional):    + Current EXP (optional):   

Mode:
EXP needed to get to a level?
Level reached after feeding EXP?

- Desired level:    + Desired level:   
- EXP:    + EXP:   


Calculate