aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/EditableView.scss
blob: 27b260450cfe3f63f3155e20f574ded227e649af (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
.editableView-container-editing,
.editableView-container-editing-oneLine {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    overflow: hidden;
    height: 100%;
    min-width: 20;
    text-overflow: ellipsis;
}

.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;
}