about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorSorin Davidoi <sorin.davidoi@gmail.com>2017-07-14 00:49:01 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-07-14 00:49:01 +0200
commita9067167bb368b1692bdd1ceea216b9215275ee2 (patch)
treeb19927593a71b342cd484d2d915d7df2a1ca512a /app/javascript/styles
parenta9a0c854e1df8fbc682eeb059fc68e8dbdbb5bde (diff)
Improve swiping (#4188)
* feat(components/columns_area): Toggle animation settings

* fix(components/media_modal): Center non-visible views

* fix(components/media_modal): Check for null

* refactor(columns_area): Better logic
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/components.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss
index bcf7ba4e0..0face646d 100644
--- a/app/javascript/styles/components.scss
+++ b/app/javascript/styles/components.scss
@@ -1312,6 +1312,8 @@
 }
 
 .react-swipeable-view-container > * {
+  display: flex;
+  align-items: center;
   height: 100%;
 }