You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my website, I used CSS and media query to change the font-size inside the code blocks depending on the screen size. After integrating code hike, I realized that this doesn't work, presumably because code-hike overrides the css styles.
This is especially important for smaller screens where I want the code to fit the width without creating a horizontal scroll bar as it makes the reading experience bad. Is there a way to do this that I am not aware of, or is it currently not supported?
The text was updated successfully, but these errors were encountered:
You could probably add a custom-ch.css file and specify the media query rule, take a look at this example. You probably want to add the rule for the .ch-editor-frame and specify your media query and desired font-size.
In my website, I used CSS and media query to change the font-size inside the code blocks depending on the screen size. After integrating code hike, I realized that this doesn't work, presumably because code-hike overrides the css styles.
This is especially important for smaller screens where I want the code to fit the width without creating a horizontal scroll bar as it makes the reading experience bad. Is there a way to do this that I am not aware of, or is it currently not supported?
The text was updated successfully, but these errors were encountered: