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

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