`TimedTextEditor` Text centre aligned in mobile view
pietrop opened this issue · comments
Describe the bug
To Reproduce
Steps to reproduce the behaviour:
- Go to Storybook demo app
- Click on
load demo
- Click on
screen size icon
and choseiphone 6
- Scroll down to see
TimedTextEditor
- See error, text is centred align
Expected behavior
Expect text to be aligned to the left.
Screenshots
Desktop (please complete the following information):
- OS: Mac, OS X, Storybook - iPhone6 view
- Browser : Chrome
Additional context
Seems to be caused by /demo/index.module.css
under
/* phone */
@media (max-width: 767px) {
body {
padding: 0;
text-align: center;
}
...
Which is effecting the all of the page, if commenting out text-align: center;
then error goes away.