Open KelvinKKLin opened 5 years ago
@KelvinKKLin This feature should be delayed for now. The Mirror Mark editor can already go fullscreen which I feel is sufficient. The only improvement to that needed is to apply the toolbar fix from this forked version.
@KelvinKKLin This feature should be delayed for now. The Mirror Mark editor can already go fullscreen which I feel is sufficient. The only improvement to that needed is to apply the toolbar fix from this forked version.
Ok, sounds good to me.
Context The maximize button should allow users to maximize the text editor component to the width of the screen when pressed.
The Ask Implement the following functionality:
width: 100%
instruction. The "Maximize" button should turn into the "Restore" button.Additional Details Key files to look at: src/components/editor-component.ts, styles.css.
Read this link for more information on Flexbox (CSS), the technology used to lay out components on the screen: https://css-tricks.com/snippets/css/a-guide-to-flexbox/
Line 152 to 161 in styles.css constrain the text editor's default width: