@bbc/react-transcript-editor
Version:
A React component to make transcribing audio and video easier and faster.
26 lines (20 loc) • 481 B
CSS
@value color-subt-green, color-darkest-grey, color-labs-red from '../colours.module.css';
.DraftEditor-root {
background: #f9f9f9;
}
/*
Giving the editor a oveflow
https://github.com/facebook/draft-js/issues/528
*/
.editor :global(.public-DraftEditor-content) {
max-height: 75vh;
overflow: auto;
padding: 8px 16px;
background-color: white;
}
/* Mobile devices */
@media (max-width: 768px) {
.editor :global(.public-DraftEditor-content) {
margin: 0 auto;
}
}