aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/EditableView.scss
blob: 333939d0322904cd09a2f40cdda9426eec648426 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.editableView-container-editing,
.editableView-container-editing-oneLine {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    overflow-y: auto;
    height: 100%;
    width: 100%;
    min-width: 20px;
    text-overflow: ellipsis;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.editableView-container-editing::-webkit-scrollbar {
    display: none;
}

.editableView-container-editing-oneLine {
    width: 100%;
    height: max-content;
    overflow: hidden;

    span {
        p {
            white-space: pre;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }

    input {
        display: block;
    }
}

.editableView-input {
    width: 100%;
    background: inherit;
    pointer-events: all;
}

.editableView-input:focus {
    border: none;
    outline: none;
}