mirror of https://github.com/luizdepra/hugo-coder.git

Ardemium
30.42.2024 046c15cb635c4d6b65260431d19aaeb128efd360
refs
author Ardemium <github.polymer863@passmail.net>
Sunday, June 30, 2024 22:42 +0200
committer Luiz F. A. de Prá <rawaraknis@gmail.com>
Sunday, August 18, 2024 20:09 +0200
commit046c15cb635c4d6b65260431d19aaeb128efd360
tree 8c2569ddad93a48605f157bf46c6c64f8861f96a tree | zip | gz
parent 3344e09b6147db7927546df06f2febb7f72c0f43 view | diff
Fix: Code block line numbers styling issue (#820)

- Resolved the issue where enabling line numbers in code blocks caused the content to escape the code block border.
- Added necessary CSS to ensure the code block border doe not extends to contain the entire content when line numbers are enabled.
- Tested with reproduction steps to confirm the fix works across various scenarios.
- additionally fixed long string overflow that causes mobile version stretch

Fixes #820
1 files modified
8 ■■■■ changed files
assets/scss/_base.scss 8 ●●●● diff | view | raw | blame | history