Conversation
supportI have a code in my blog that has 200 lines. I want to add a horizontal scrollbar and set the code visibility to e.g. 20 lines. I have looked at many tutorials, tried different css settings, but it never worked. AI generates similar answers as google. I am using the current version of SyntaxHighlighter Evolved (3.7.1). This topic was modified 1 year, 3 months ago by janyx .
I apologize and change the word horizontal to vertical. 馃榾
Claude Sonnet found a solution. For others div.syntaxhighlighter, .syntaxhighlighter table { max-height: 400px !important; overflow-y: auto !important; }
@janyx Glad to hear you find your answer. Thanks for sharing it here!
Would it be possible to implement this function into the settings in the next plugin update?
@janyx that鈥檚 a great idea! You can feel free to submit this as a feature request in the plugin鈥檚 GitHub repository : https://github.com/Automattic/syntaxhighlighter/issues/new?template=feature_request.md This reply was modified 1 year, 3 months ago by Mike R. (a11n) .
I apologize and change the word horizontal to vertical. 馃榾
Claude Sonnet found a solution. For others div.syntaxhighlighter, .syntaxhighlighter table { max-height: 400px !important; overflow-y: auto !important; }
@janyx Glad to hear you find your answer. Thanks for sharing it here!
Would it be possible to implement this function into the settings in the next plugin update?
@janyx that鈥檚 a great idea! You can feel free to submit this as a feature request in the plugin鈥檚 GitHub repository : https://github.com/Automattic/syntaxhighlighter/issues/new?template=feature_request.md This reply was modified 1 year, 3 months ago by Mike R. (a11n) .