@d-i-t-a/reader 2.0.0-beta.13 → 2.0.0-beta.16

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.
@@ -18,7 +18,7 @@
18
18
  */
19
19
 
20
20
  .d2-line-focus-container {
21
- position: fixed;
21
+ position: sticky;
22
22
  height: 100vh;
23
23
  width: 100%;
24
24
  pointer-events: none;
@@ -29,6 +29,8 @@
29
29
  --RS__definitionsHoverColor: rgba(255, 111, 111, 0.75);
30
30
  --RS__definitionsUnderlineBorderColor: rgba(255, 111, 111, 1);
31
31
  --RS__definitionsUnderlineHoverColor: rgba(255, 111, 111, 0.1);
32
+
33
+ --USER__maxMediaHeight: --RS__maxMediaHeight;
32
34
  }
33
35
 
34
36
  .R2_CLASS_HIGHLIGHT_AREA[data-marker="0"] {
@@ -248,3 +250,7 @@
248
250
  border-top: 5px solid #5b5852;
249
251
  margin-left: -10px;
250
252
  }
253
+
254
+ img {
255
+ max-height: var(--USER__maxMediaHeight) !important;
256
+ }
package/dist/reader.css CHANGED
@@ -205,9 +205,9 @@ a {
205
205
  animation: load 1s ease-in-out infinite; }
206
206
 
207
207
  .loading {
208
- position: fixed;
208
+ position: sticky;
209
209
  width: 100%;
210
- height: 100vh;
210
+ height: 100%;
211
211
  top: 0;
212
212
  z-index: 10;
213
213
  background-color: rgba(255, 255, 255, 0.9);