@performant-software/semantic-components 1.1.4-beta.8 → 1.1.4

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.
@@ -10,7 +10,7 @@ import React, {
10
10
  import { Grid } from 'semantic-ui-react';
11
11
  import Facet, { type Props as FacetProps } from './Facet';
12
12
  import { type RangeSliderProps } from '../types/InstantSearch';
13
- import 'rc-slider/assets/index.css';
13
+
14
14
  import './FacetSlider.css';
15
15
 
16
16
  type Props = FacetProps & RangeSliderProps;
@@ -25,7 +25,7 @@ const FacetSlider = forwardRef(({ useRangeSlider, ...props }: Props, ref: HTMLEl
25
25
  refine,
26
26
  } = useRangeSlider(props);
27
27
 
28
- const [valueView, setValueView] = useState<Array<number>>([range.min, range.max]);
28
+ const [valueView, setValueView] = useState < Array < number >> ([range.min, range.max]);
29
29
 
30
30
  /**
31
31
  * Sets the visibility variable based on the range min and max.
@@ -72,12 +72,12 @@ const FacetSlider = forwardRef(({ useRangeSlider, ...props }: Props, ref: HTMLEl
72
72
  columns={2}
73
73
  >
74
74
  <Grid.Column>
75
- { valueView[0] }
75
+ {valueView[0]}
76
76
  </Grid.Column>
77
77
  <Grid.Column
78
78
  textAlign='right'
79
79
  >
80
- { valueView[1] }
80
+ {valueView[1]}
81
81
  </Grid.Column>
82
82
  </Grid>
83
83
  </div>
@@ -7,6 +7,7 @@
7
7
  .lazy-document.ui.segment .buttons {
8
8
  display: flex;
9
9
  flex-direction: column;
10
+ z-index: 1000;
10
11
  }
11
12
 
12
13
  .lazy-document.ui.segment .buttons .ui.button {
@@ -30,3 +31,8 @@
30
31
  .lazy-document > .image.hidden {
31
32
  display: none;
32
33
  }
34
+
35
+ .pdf-container {
36
+ width: 200px;
37
+ height: 300px;
38
+ }
@@ -3,7 +3,6 @@
3
3
  import React, { useCallback, useState, type Node } from 'react';
4
4
  import { pdfjs, Document, Page } from 'react-pdf';
5
5
  import {
6
- Button,
7
6
  Dimmer,
8
7
  Icon,
9
8
  Image,
@@ -15,13 +14,7 @@ import {
15
14
  import DownloadButton from './DownloadButton';
16
15
  import LazyLoader from './LazyLoader';
17
16
 
18
- // These are copied from the react-pdt node_module. This is for NextJS builds
19
- // see https://nextjs.org/docs/messages/css-npm
20
- import './AnnotationLayer.css';
21
- import './TextLayer.css';
22
-
23
17
  import './LazyDocument.css';
24
- import ViewPDFButton from './ViewPDFButton';
25
18
 
26
19
  type Props = {
27
20
  children?: Node,
@@ -31,8 +24,6 @@ type Props = {
31
24
  image?: any,
32
25
  pdf?: boolean,
33
26
  preview?: ?string,
34
- view?: Boolean,
35
- view_url?: String,
36
27
  size?: string,
37
28
  src?: string
38
29
  };
@@ -128,21 +119,12 @@ const LazyDocument = (props: Props) => {
128
119
  >
129
120
  <Page
130
121
  pageNumber={1}
122
+ renderTextLayer={false}
123
+ renderAnnotationLayer={false}
131
124
  />
132
125
  </Document>
133
126
  </Image>
134
127
  )}
135
- {!error && loaded && props.view && props.view_url && props.pdf && dimmer && (
136
- <Dimmer
137
- active={dimmer}
138
- >
139
- <div
140
- className='buttons'
141
- >
142
- <ViewPDFButton url={props.view_url} primary />
143
- </div>
144
- </Dimmer>
145
- )}
146
128
  {(error || (!props.preview && !(props.src && props.pdf))) && (
147
129
  <Image
148
130
  {...props.image}
package/src/index.js CHANGED
@@ -38,7 +38,7 @@ export { default as EmbeddedList } from './components/EmbeddedList';
38
38
  export { default as Facet } from './components/Facet';
39
39
  export { default as FacetClearButton } from './components/FacetClearButton';
40
40
  export { default as FacetList } from './components/FacetList';
41
- // export { default as FacetSlider } from './components/FacetSlider';
41
+ export { default as FacetSlider } from './components/FacetSlider';
42
42
  export { default as FacetToggle } from './components/FacetToggle';
43
43
  export { default as FileInputButton } from './components/FileInputButton';
44
44
  export { default as FileUpload } from './components/FileUpload';
@@ -10,7 +10,7 @@ import React, {
10
10
  import { Grid } from 'semantic-ui-react';
11
11
  import Facet, { type Props as FacetProps } from './Facet';
12
12
  import { type RangeSliderProps } from '../types/InstantSearch';
13
- import 'rc-slider/assets/index.css';
13
+
14
14
  import './FacetSlider.css';
15
15
 
16
16
  type Props = FacetProps & RangeSliderProps;
@@ -25,7 +25,7 @@ const FacetSlider = forwardRef(({ useRangeSlider, ...props }: Props, ref: HTMLEl
25
25
  refine,
26
26
  } = useRangeSlider(props);
27
27
 
28
- const [valueView, setValueView] = useState<Array<number>>([range.min, range.max]);
28
+ const [valueView, setValueView] = useState < Array < number >> ([range.min, range.max]);
29
29
 
30
30
  /**
31
31
  * Sets the visibility variable based on the range min and max.
@@ -72,12 +72,12 @@ const FacetSlider = forwardRef(({ useRangeSlider, ...props }: Props, ref: HTMLEl
72
72
  columns={2}
73
73
  >
74
74
  <Grid.Column>
75
- { valueView[0] }
75
+ {valueView[0]}
76
76
  </Grid.Column>
77
77
  <Grid.Column
78
78
  textAlign='right'
79
79
  >
80
- { valueView[1] }
80
+ {valueView[1]}
81
81
  </Grid.Column>
82
82
  </Grid>
83
83
  </div>
@@ -3,7 +3,6 @@
3
3
  import React, { useCallback, useState, type Node } from 'react';
4
4
  import { pdfjs, Document, Page } from 'react-pdf';
5
5
  import {
6
- Button,
7
6
  Dimmer,
8
7
  Icon,
9
8
  Image,
@@ -15,13 +14,7 @@ import {
15
14
  import DownloadButton from './DownloadButton';
16
15
  import LazyLoader from './LazyLoader';
17
16
 
18
- // These are copied from the react-pdt node_module. This is for NextJS builds
19
- // see https://nextjs.org/docs/messages/css-npm
20
- import './AnnotationLayer.css';
21
- import './TextLayer.css';
22
-
23
17
  import './LazyDocument.css';
24
- import ViewPDFButton from './ViewPDFButton';
25
18
 
26
19
  type Props = {
27
20
  children?: Node,
@@ -31,8 +24,6 @@ type Props = {
31
24
  image?: any,
32
25
  pdf?: boolean,
33
26
  preview?: ?string,
34
- view?: Boolean,
35
- view_url?: String,
36
27
  size?: string,
37
28
  src?: string
38
29
  };
@@ -128,21 +119,12 @@ const LazyDocument = (props: Props) => {
128
119
  >
129
120
  <Page
130
121
  pageNumber={1}
122
+ renderTextLayer={false}
123
+ renderAnnotationLayer={false}
131
124
  />
132
125
  </Document>
133
126
  </Image>
134
127
  )}
135
- {!error && loaded && props.view && props.view_url && props.pdf && dimmer && (
136
- <Dimmer
137
- active={dimmer}
138
- >
139
- <div
140
- className='buttons'
141
- >
142
- <ViewPDFButton url={props.view_url} primary />
143
- </div>
144
- </Dimmer>
145
- )}
146
128
  {(error || (!props.preview && !(props.src && props.pdf))) && (
147
129
  <Image
148
130
  {...props.image}
@@ -38,7 +38,7 @@ export { default as EmbeddedList } from './components/EmbeddedList';
38
38
  export { default as Facet } from './components/Facet';
39
39
  export { default as FacetClearButton } from './components/FacetClearButton';
40
40
  export { default as FacetList } from './components/FacetList';
41
- // export { default as FacetSlider } from './components/FacetSlider';
41
+ export { default as FacetSlider } from './components/FacetSlider';
42
42
  export { default as FacetToggle } from './components/FacetToggle';
43
43
  export { default as FileInputButton } from './components/FileInputButton';
44
44
  export { default as FileUpload } from './components/FileUpload';
package/webpack.config.js CHANGED
@@ -10,6 +10,10 @@ module.exports = configure(__dirname, {
10
10
  './react-calendar/dist/Calendar.css$': path.resolve(
11
11
  __dirname,
12
12
  '../../node_modules/react-calendar/dist/Calendar.css'
13
+ ),
14
+ './rc-slider/assets/index.css$': path.resolve(
15
+ __dirname,
16
+ '../../node_modules/rc-slider/assets/index.css'
13
17
  )
14
18
  }
15
19
  },
@@ -1,329 +0,0 @@
1
- /* Copyright 2014 Mozilla Foundation
2
- *
3
- * Licensed under the Apache License, Version 2.0 (the "License");
4
- * you may not use this file except in compliance with the License.
5
- * You may obtain a copy of the License at
6
- *
7
- * http://www.apache.org/licenses/LICENSE-2.0
8
- *
9
- * Unless required by applicable law or agreed to in writing, software
10
- * distributed under the License is distributed on an "AS IS" BASIS,
11
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- * See the License for the specific language governing permissions and
13
- * limitations under the License.
14
- */
15
-
16
- :root {
17
- --react-pdf-annotation-layer: 1;
18
- --annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
19
- --input-focus-border-color: Highlight;
20
- --input-focus-outline: 1px solid Canvas;
21
- --input-unfocused-border-color: transparent;
22
- --input-disabled-border-color: transparent;
23
- --input-hover-border-color: black;
24
- --link-outline: none;
25
- }
26
-
27
- @media screen and (forced-colors: active) {
28
- :root {
29
- --input-focus-border-color: CanvasText;
30
- --input-unfocused-border-color: ActiveText;
31
- --input-disabled-border-color: GrayText;
32
- --input-hover-border-color: Highlight;
33
- --link-outline: 1.5px solid LinkText;
34
- }
35
- .annotationLayer .textWidgetAnnotation :is(input, textarea):required,
36
- .annotationLayer .choiceWidgetAnnotation select:required,
37
- .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required {
38
- outline: 1.5px solid selectedItem;
39
- }
40
-
41
- .annotationLayer .linkAnnotation:hover {
42
- backdrop-filter: invert(100%);
43
- }
44
- }
45
-
46
- .annotationLayer {
47
- position: absolute;
48
- top: 0;
49
- left: 0;
50
- pointer-events: none;
51
- transform-origin: 0 0;
52
- z-index: 3;
53
- }
54
-
55
- .annotationLayer[data-main-rotation='90'] .norotate {
56
- transform: rotate(270deg) translateX(-100%);
57
- }
58
- .annotationLayer[data-main-rotation='180'] .norotate {
59
- transform: rotate(180deg) translate(-100%, -100%);
60
- }
61
- .annotationLayer[data-main-rotation='270'] .norotate {
62
- transform: rotate(90deg) translateY(-100%);
63
- }
64
-
65
- .annotationLayer canvas {
66
- position: absolute;
67
- width: 100%;
68
- height: 100%;
69
- }
70
-
71
- .annotationLayer section {
72
- position: absolute;
73
- text-align: initial;
74
- pointer-events: auto;
75
- box-sizing: border-box;
76
- margin: 0;
77
- transform-origin: 0 0;
78
- }
79
-
80
- .annotationLayer .linkAnnotation {
81
- outline: var(--link-outline);
82
- }
83
-
84
- .annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a {
85
- position: absolute;
86
- font-size: 1em;
87
- top: 0;
88
- left: 0;
89
- width: 100%;
90
- height: 100%;
91
- }
92
-
93
- .annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a:hover {
94
- opacity: 0.2;
95
- background: rgba(255, 255, 0, 1);
96
- box-shadow: 0 2px 10px rgba(255, 255, 0, 1);
97
- }
98
-
99
- .annotationLayer .textAnnotation img {
100
- position: absolute;
101
- cursor: pointer;
102
- width: 100%;
103
- height: 100%;
104
- top: 0;
105
- left: 0;
106
- }
107
-
108
- .annotationLayer .textWidgetAnnotation :is(input, textarea),
109
- .annotationLayer .choiceWidgetAnnotation select,
110
- .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {
111
- background-image: var(--annotation-unfocused-field-background);
112
- border: 2px solid var(--input-unfocused-border-color);
113
- box-sizing: border-box;
114
- font: calc(9px * var(--scale-factor)) sans-serif;
115
- height: 100%;
116
- margin: 0;
117
- vertical-align: top;
118
- width: 100%;
119
- }
120
-
121
- .annotationLayer .textWidgetAnnotation :is(input, textarea):required,
122
- .annotationLayer .choiceWidgetAnnotation select:required,
123
- .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required {
124
- outline: 1.5px solid red;
125
- }
126
-
127
- .annotationLayer .choiceWidgetAnnotation select option {
128
- padding: 0;
129
- }
130
-
131
- .annotationLayer .buttonWidgetAnnotation.radioButton input {
132
- border-radius: 50%;
133
- }
134
-
135
- .annotationLayer .textWidgetAnnotation textarea {
136
- resize: none;
137
- }
138
-
139
- .annotationLayer .textWidgetAnnotation :is(input, textarea)[disabled],
140
- .annotationLayer .choiceWidgetAnnotation select[disabled],
141
- .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input[disabled] {
142
- background: none;
143
- border: 2px solid var(--input-disabled-border-color);
144
- cursor: not-allowed;
145
- }
146
-
147
- .annotationLayer .textWidgetAnnotation :is(input, textarea):hover,
148
- .annotationLayer .choiceWidgetAnnotation select:hover,
149
- .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:hover {
150
- border: 2px solid var(--input-hover-border-color);
151
- }
152
- .annotationLayer .textWidgetAnnotation :is(input, textarea):hover,
153
- .annotationLayer .choiceWidgetAnnotation select:hover,
154
- .annotationLayer .buttonWidgetAnnotation.checkBox input:hover {
155
- border-radius: 2px;
156
- }
157
-
158
- .annotationLayer .textWidgetAnnotation :is(input, textarea):focus,
159
- .annotationLayer .choiceWidgetAnnotation select:focus {
160
- background: none;
161
- border: 2px solid var(--input-focus-border-color);
162
- border-radius: 2px;
163
- outline: var(--input-focus-outline);
164
- }
165
-
166
- .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) :focus {
167
- background-image: none;
168
- background-color: transparent;
169
- }
170
-
171
- .annotationLayer .buttonWidgetAnnotation.checkBox :focus {
172
- border: 2px solid var(--input-focus-border-color);
173
- border-radius: 2px;
174
- outline: var(--input-focus-outline);
175
- }
176
-
177
- .annotationLayer .buttonWidgetAnnotation.radioButton :focus {
178
- border: 2px solid var(--input-focus-border-color);
179
- outline: var(--input-focus-outline);
180
- }
181
-
182
- .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,
183
- .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after,
184
- .annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before {
185
- background-color: CanvasText;
186
- content: '';
187
- display: block;
188
- position: absolute;
189
- }
190
-
191
- .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,
192
- .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after {
193
- height: 80%;
194
- left: 45%;
195
- width: 1px;
196
- }
197
-
198
- .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before {
199
- transform: rotate(45deg);
200
- }
201
-
202
- .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after {
203
- transform: rotate(-45deg);
204
- }
205
-
206
- .annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before {
207
- border-radius: 50%;
208
- height: 50%;
209
- left: 30%;
210
- top: 20%;
211
- width: 50%;
212
- }
213
-
214
- .annotationLayer .textWidgetAnnotation input.comb {
215
- font-family: monospace;
216
- padding-left: 2px;
217
- padding-right: 0;
218
- }
219
-
220
- .annotationLayer .textWidgetAnnotation input.comb:focus {
221
- /*
222
- * Letter spacing is placed on the right side of each character. Hence, the
223
- * letter spacing of the last character may be placed outside the visible
224
- * area, causing horizontal scrolling. We avoid this by extending the width
225
- * when the element has focus and revert this when it loses focus.
226
- */
227
- width: 103%;
228
- }
229
-
230
- .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {
231
- appearance: none;
232
- }
233
-
234
- .annotationLayer .popupTriggerArea {
235
- height: 100%;
236
- width: 100%;
237
- }
238
-
239
- .annotationLayer .fileAttachmentAnnotation .popupTriggerArea {
240
- position: absolute;
241
- }
242
-
243
- .annotationLayer .popupWrapper {
244
- position: absolute;
245
- font-size: calc(9px * var(--scale-factor));
246
- width: 100%;
247
- min-width: calc(180px * var(--scale-factor));
248
- pointer-events: none;
249
- }
250
-
251
- .annotationLayer .popup {
252
- position: absolute;
253
- max-width: calc(180px * var(--scale-factor));
254
- background-color: rgba(255, 255, 153, 1);
255
- box-shadow: 0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor))
256
- rgba(136, 136, 136, 1);
257
- border-radius: calc(2px * var(--scale-factor));
258
- padding: calc(6px * var(--scale-factor));
259
- margin-left: calc(5px * var(--scale-factor));
260
- cursor: pointer;
261
- font: message-box;
262
- white-space: normal;
263
- word-wrap: break-word;
264
- pointer-events: auto;
265
- }
266
-
267
- .annotationLayer .popup > * {
268
- font-size: calc(9px * var(--scale-factor));
269
- }
270
-
271
- .annotationLayer .popup h1 {
272
- display: inline-block;
273
- }
274
-
275
- .annotationLayer .popupDate {
276
- display: inline-block;
277
- margin-left: calc(5px * var(--scale-factor));
278
- }
279
-
280
- .annotationLayer .popupContent {
281
- border-top: 1px solid rgba(51, 51, 51, 1);
282
- margin-top: calc(2px * var(--scale-factor));
283
- padding-top: calc(2px * var(--scale-factor));
284
- }
285
-
286
- .annotationLayer .richText > * {
287
- white-space: pre-wrap;
288
- font-size: calc(9px * var(--scale-factor));
289
- }
290
-
291
- .annotationLayer .highlightAnnotation,
292
- .annotationLayer .underlineAnnotation,
293
- .annotationLayer .squigglyAnnotation,
294
- .annotationLayer .strikeoutAnnotation,
295
- .annotationLayer .freeTextAnnotation,
296
- .annotationLayer .lineAnnotation svg line,
297
- .annotationLayer .squareAnnotation svg rect,
298
- .annotationLayer .circleAnnotation svg ellipse,
299
- .annotationLayer .polylineAnnotation svg polyline,
300
- .annotationLayer .polygonAnnotation svg polygon,
301
- .annotationLayer .caretAnnotation,
302
- .annotationLayer .inkAnnotation svg polyline,
303
- .annotationLayer .stampAnnotation,
304
- .annotationLayer .fileAttachmentAnnotation {
305
- cursor: pointer;
306
- }
307
-
308
- .annotationLayer section svg {
309
- position: absolute;
310
- width: 100%;
311
- height: 100%;
312
- top: 0;
313
- left: 0;
314
- }
315
-
316
- .annotationLayer .annotationTextContent {
317
- position: absolute;
318
- width: 100%;
319
- height: 100%;
320
- opacity: 0;
321
- color: transparent;
322
- user-select: none;
323
- pointer-events: none;
324
- }
325
-
326
- .annotationLayer .annotationTextContent span {
327
- width: 100%;
328
- display: inline-block;
329
- }
@@ -1,110 +0,0 @@
1
- /* Copyright 2014 Mozilla Foundation
2
- *
3
- * Licensed under the Apache License, Version 2.0 (the "License");
4
- * you may not use this file except in compliance with the License.
5
- * You may obtain a copy of the License at
6
- *
7
- * http://www.apache.org/licenses/LICENSE-2.0
8
- *
9
- * Unless required by applicable law or agreed to in writing, software
10
- * distributed under the License is distributed on an "AS IS" BASIS,
11
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- * See the License for the specific language governing permissions and
13
- * limitations under the License.
14
- */
15
-
16
- :root {
17
- --react-pdf-text-layer: 1;
18
- --highlight-bg-color: rgba(180, 0, 170, 1);
19
- --highlight-selected-bg-color: rgba(0, 100, 0, 1);
20
- }
21
-
22
- @media screen and (forced-colors: active) {
23
- :root {
24
- --highlight-bg-color: Highlight;
25
- --highlight-selected-bg-color: ButtonText;
26
- }
27
- }
28
-
29
- [data-main-rotation='90'] {
30
- transform: rotate(90deg) translateY(-100%);
31
- }
32
- [data-main-rotation='180'] {
33
- transform: rotate(180deg) translate(-100%, -100%);
34
- }
35
- [data-main-rotation='270'] {
36
- transform: rotate(270deg) translateX(-100%);
37
- }
38
-
39
- .textLayer {
40
- position: absolute;
41
- text-align: initial;
42
- inset: 0;
43
- overflow: hidden;
44
- line-height: 1;
45
- text-size-adjust: none;
46
- forced-color-adjust: none;
47
- transform-origin: 0 0;
48
- z-index: 2;
49
- }
50
-
51
- .textLayer :is(span, br) {
52
- color: transparent;
53
- position: absolute;
54
- white-space: pre;
55
- cursor: text;
56
- margin: 0;
57
- transform-origin: 0 0;
58
- }
59
-
60
- /* Only necessary in Google Chrome, see issue 14205, and most unfortunately
61
- * the problem doesn't show up in "text" reference tests. */
62
- .textLayer span.markedContent {
63
- top: 0;
64
- height: 0;
65
- }
66
-
67
- .textLayer .highlight {
68
- margin: -1px;
69
- padding: 1px;
70
- background-color: var(--highlight-bg-color);
71
- border-radius: 4px;
72
- }
73
-
74
- .textLayer .highlight.appended {
75
- position: initial;
76
- }
77
-
78
- .textLayer .highlight.begin {
79
- border-radius: 4px 0 0 4px;
80
- }
81
-
82
- .textLayer .highlight.end {
83
- border-radius: 0 4px 4px 0;
84
- }
85
-
86
- .textLayer .highlight.middle {
87
- border-radius: 0;
88
- }
89
-
90
- .textLayer .highlight.selected {
91
- background-color: var(--highlight-selected-bg-color);
92
- }
93
-
94
- /* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
95
- .textLayer br::selection {
96
- background: transparent;
97
- }
98
-
99
- .textLayer .endOfContent {
100
- display: block;
101
- position: absolute;
102
- inset: 100% 0 0;
103
- z-index: -1;
104
- cursor: default;
105
- user-select: none;
106
- }
107
-
108
- .textLayer .endOfContent.active {
109
- top: 0;
110
- }