Skip to content

Commit

Permalink
Task: dynamically sized query input box width
Browse files Browse the repository at this point in the history
Instead of having a fixed width input box for entering the query text,
we have the box scale according to the screen size, like the rest of the
layout. [ci skip]
  • Loading branch information
bwbaugh committed Mar 24, 2013
1 parent 84e9668 commit 1c8545e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion infertweet/ui/web/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div id="mainbody">
<h1>InferTweet</h1>
<form action="sentiment/" method="get">
<input type="text" id="query" name="q" size="40" autofocus="autofocus"><br>
<input type="text" id="query" name="q" style='width:100%' autofocus="autofocus"><br>
<input type="submit" value="Estimate Tone">
</form>
</div>
Expand Down
2 changes: 1 addition & 1 deletion infertweet/ui/web/templates/sentiment.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div id="mainbody">
<h1>InferTweet</h1>
<form method="get">
<input type="text" id="query" name="q" autofocus="autofocus" size="40" value="{{ query }}"><br>
<input type="text" id="query" name="q" autofocus="autofocus" style='width:100%' value="{{ query }}"><br>
<input type="submit" value="Estimate Tone">
</form>
<br>
Expand Down

0 comments on commit 1c8545e

Please sign in to comment.