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

.editableView-container-editing-oneLine {
    width: 100%;

    span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

    input {
        display: block;
    }
}

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

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