Browse code

Refactor and rewrite as contao bundle

Benjamin Roth authored on04/11/2022 22:32:32
Showing1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,20 +0,0 @@
1
-.swiper-zoom-container {
2
-  width: 100%;
3
-  height: 100%;
4
-  display: flex;
5
-  justify-content: center;
6
-  align-items: center;
7
-  text-align: center;
8
-
9
-  > img,
10
-  > svg,
11
-  > canvas {
12
-    max-width: 100%;
13
-    max-height: 100%;
14
-    object-fit: contain;
15
-  }
16
-}
17
-
18
-.swiper-slide-zoomed {
19
-  cursor: move;
20
-}
Browse code

swiper.js version 6.4.5

Benjamin Roth authored on17/01/2021 16:24:34
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,20 @@
1
+.swiper-zoom-container {
2
+  width: 100%;
3
+  height: 100%;
4
+  display: flex;
5
+  justify-content: center;
6
+  align-items: center;
7
+  text-align: center;
8
+
9
+  > img,
10
+  > svg,
11
+  > canvas {
12
+    max-width: 100%;
13
+    max-height: 100%;
14
+    object-fit: contain;
15
+  }
16
+}
17
+
18
+.swiper-slide-zoomed {
19
+  cursor: move;
20
+}