CyclicMaterials/atom-autogrow-textarea

View on GitHub
src/AutogrowTextarea/index.css

Summary

Maintainability
Test Coverage
@import "@cyclic/atom-layout/atom-layout.css";

.atom-AutogrowTextarea {
  display: inline-block;
  position: relative;
  width: 400px;
  border: 1px solid;
  padding: 2px;
  -moz-appearance: textarea;
  -webkit-appearance: textarea;
}

.atom-AutogrowTextarea_mirrorText {
  visibility: hidden;
  word-break: break-word;
}

.atom-AutogrowTextarea_container {}

.atom-AutogrowTextarea_textarea {
  position: relative;
  outline: none;
  border: none;
  resize: none;
  background: inherit;
  color: inherit;
  width: 100%;
  height: 100%;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}