yet-another-react-lightbox 2.4.0 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/styles.css +16 -4
  2. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -7,7 +7,10 @@
7
7
  }
8
8
  .yarl__portal {
9
9
  position: fixed;
10
- inset: 0;
10
+ top: 0;
11
+ right: 0;
12
+ bottom: 0;
13
+ left: 0;
11
14
  opacity: 0;
12
15
  overflow: hidden;
13
16
  z-index: var(--yarl__portal_zindex, 9999);
@@ -18,7 +21,10 @@
18
21
  }
19
22
  .yarl__container {
20
23
  position: absolute;
21
- inset: 0;
24
+ top: 0;
25
+ right: 0;
26
+ bottom: 0;
27
+ left: 0;
22
28
  overflow: hidden;
23
29
  background-color: var(--yarl__container_background_color, var(--yarl__color_backdrop, #000));
24
30
  outline: 0;
@@ -150,13 +156,19 @@
150
156
  }
151
157
  .yarl__toolbar {
152
158
  position: absolute;
153
- inset: 0 0 auto auto;
159
+ top: 0;
160
+ right: 0;
161
+ bottom: auto;
162
+ left: auto;
154
163
  display: flex;
155
164
  justify-content: flex-end;
156
165
  padding: var(--yarl__toolbar_padding, 8px);
157
166
  }
158
167
  [dir=rtl] .yarl__toolbar {
159
- inset: 0 auto auto 0;
168
+ top: 0;
169
+ right: auto;
170
+ bottom: auto;
171
+ left: 0;
160
172
  }
161
173
  .yarl__icon {
162
174
  width: var(--yarl__icon_size, 32px);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yet-another-react-lightbox",
3
- "version": "2.4.0",
3
+ "version": "2.4.2",
4
4
  "description": "Modern React lightbox component",
5
5
  "author": "Igor Danchenko",
6
6
  "license": "MIT",