Convert CSS class "t-number" to "numeric"
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/345443d6 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/345443d6 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/345443d6 Branch: refs/heads/master Commit: 345443d6270b47ab7ca0ffbb1c1a9237d0f7a602 Parents: 1391f06 Author: Howard M. Lewis Ship <[email protected]> Authored: Wed Sep 4 15:00:43 2013 -0700 Committer: Howard M. Lewis Ship <[email protected]> Committed: Wed Sep 4 15:00:43 2013 -0700 ---------------------------------------------------------------------- .../src/main/resources/META-INF/assets/tapestry5/tapestry.css | 5 +++++ .../org/apache/tapestry5/corelib/pages/PropertyEditBlocks.tml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/345443d6/tapestry-core/src/main/resources/META-INF/assets/tapestry5/tapestry.css ---------------------------------------------------------------------- diff --git a/tapestry-core/src/main/resources/META-INF/assets/tapestry5/tapestry.css b/tapestry-core/src/main/resources/META-INF/assets/tapestry5/tapestry.css index ed89c9d..f8a9a6f 100644 --- a/tapestry-core/src/main/resources/META-INF/assets/tapestry5/tapestry.css +++ b/tapestry-core/src/main/resources/META-INF/assets/tapestry5/tapestry.css @@ -30,3 +30,8 @@ div.datefield-popup.well { margin-top: 2px; } +/* Numeric fields should have their content right-aligned. */ +.numeric { + text-align: right; +} + http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/345443d6/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/pages/PropertyEditBlocks.tml ---------------------------------------------------------------------- diff --git a/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/pages/PropertyEditBlocks.tml b/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/pages/PropertyEditBlocks.tml index b22f161..37234da 100644 --- a/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/pages/PropertyEditBlocks.tml +++ b/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/pages/PropertyEditBlocks.tml @@ -5,7 +5,7 @@ </t:block> <t:block id="number"> - <input t:id="numberField" t:mixins="formgroup" class="t-number"/> + <input t:id="numberField" t:mixins="formgroup" class="numeric"/> </t:block>
