aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/Page.scss
blob: af1628a6fd414c006a3a114033e03980ab9aee02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.pdfPage-cont {
    position: relative;

    .pdfPage-canvasContainer {
        position: absolute;
    }

    .pdfPage-dragAnnotationBox {
        position: absolute;
        background-color: transparent;
        opacity: 0.1;
    }

    .pdfPage-textLayer {
        position: absolute;
        width: 100%;
        height: 100%;
        div {
            user-select: text;
        }
        span {
            color: transparent;
            position: absolute;
            white-space: pre;
            cursor: text;
            -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
        }
    }
}