Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

disable placeholder from auto-resizing #121

Open
oreporan opened this issue Jan 24, 2019 · 0 comments
Open

disable placeholder from auto-resizing #121

oreporan opened this issue Jan 24, 2019 · 0 comments

Comments

@oreporan
Copy link

If the placeholder is too long, it creates a newline, even when I put ellipsis on it, it creates the 3 dots but still the height of the textarea expands.

 flex-grow: 1;
    padding: 0 0 0 10px;
    border-width: 0;
    resize: none;
    line-height: 20px;
    margin-top: 14px;
    margin-bottom: 14px;
    &:focus {
        outline-width: 0;
    };
    &::placeholder {
        text-overflow: ellipsis;
    };
@oreporan oreporan changed the title disable placeholder from creating a new line disable placeholder from auto-resizing Jan 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant