summaryrefslogtreecommitdiffstats
path: root/client/components/main/popup.tpl.jade
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-06-09 17:41:55 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-06-09 17:41:55 +0200
commit0b6c229b6cec2329752013393e83ebd122e3d2eb (patch)
tree557c1df1d21509e0ce337bd738fc74d154696667 /client/components/main/popup.tpl.jade
parent270236363abbfec7ae50a4545721d19ac37fcfe0 (diff)
downloadwekan-0b6c229b6cec2329752013393e83ebd122e3d2eb.tar.gz
wekan-0b6c229b6cec2329752013393e83ebd122e3d2eb.tar.bz2
wekan-0b6c229b6cec2329752013393e83ebd122e3d2eb.zip
Define the popup translation in the stylesheet, not in the JS code
This allows us to autoprexfix the property, which is needed for Safari support (see http://caniuse.com/#feat=transforms2d). Fixes #178.
Diffstat (limited to 'client/components/main/popup.tpl.jade')
-rw-r--r--client/components/main/popup.tpl.jade2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/main/popup.tpl.jade b/client/components/main/popup.tpl.jade
index e6cc982a..1add6033 100644
--- a/client/components/main/popup.tpl.jade
+++ b/client/components/main/popup.tpl.jade
@@ -13,7 +13,7 @@
//-
We display the all stack of popup content next to each other and move
the "window" by translating .content-container inside .content-wrapper.
- .content-container(style="transform:translateX({{containerTranslation}}px)")
+ .content-container(class="popup-container-depth-{{depth}}")
each stack
//-
XXX We need a better way to express the "is the last element" condition.