From 8add0d0a2c14eb3cdf1cbbcc8b3a7904af4d86bb Mon Sep 17 00:00:00 2001 From: fazo96 Date: Mon, 29 Sep 2014 09:04:21 +0200 Subject: [PATCH] fix firefox rendering and show format in date input --- client/client.coffee | 1 + client/view/style.css | 8 ++++++++ client/view/templates.html | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/client/client.coffee b/client/client.coffee index 7fb2b9d..660dc62 100644 --- a/client/client.coffee +++ b/client/client.coffee @@ -150,6 +150,7 @@ Template.archivedlist.events = # Note Editor Template.editor.note = -> Router.current().data() +Template.editor.dateformat = -> getUser().dateformat Template.editor.formattedDate = -> return unless @date moment.unix(@date).format(getUser().dateformat) diff --git a/client/view/style.css b/client/view/style.css index acd44b5..3737503 100644 --- a/client/view/style.css +++ b/client/view/style.css @@ -73,6 +73,14 @@ input { .note-date{ float:right; } + +/* firefox specific fix */ +@-moz-document url-prefix() { + .note-date{ + margin-top: -17px; + } +} + .note-desc { color: #999; } diff --git a/client/view/templates.html b/client/view/templates.html index d06d70e..e860df9 100644 --- a/client/view/templates.html +++ b/client/view/templates.html @@ -90,7 +90,7 @@
- +