All files / src/components/lib/InputSuffix InputSuffix.style.js

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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    4x                                                                                      
import { css } from 'styled-components';
 
export const InputSuffixStyles = css`
    .display-none {
        display: none;
    }
 
    .textarea-component {
        white-space: pre-wrap;
    }
 
    .inline-edit__textarea-wrapper {
        position: relative;
    }
 
    .inline-edit__suffix-container {
        position: absolute;
        top: 6px;
        right: 16px;
        z-index: 1;
 
        .anticon {
            font-size: 14px;
        }
 
        .anticon:not(:first-child) {
            margin-left: 8px;
        }
    }
 
    .inline-edit__input {
        .inline-edit__suffix-container {
            position: relative;
            top: 0;
            right: 0;
        }
    }
 
    /* #inline-edit__undo-button {
        position: absolute;
        top: 8px;
        right: 8px;
        font-size: 14px;
    } */
`;