peterjokumsen / peterjokumsen-nx-workspace

Project to use as a blog, to test out development theories and document stuff.
https://blog.peterjokumsen.com
GNU General Public License v3.0
1 stars 0 forks source link

fix(md-renderer): update overflow for code-block #126

Closed peterjokumsen closed 2 months ago

peterjokumsen commented 2 months ago

Summary

Updated style for code-block component, to use auto for overflow. To use scroll when content greater than current width, otherwise no scrollbar.

Expand for optional sections ## Related issues Fixes #120
nx-cloud[bot] commented 2 months ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 0887772b36fa41ab2094f435db5fe80c0a22b4a8. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

πŸ“‚ See all runs for this CI Pipeline Execution


βœ… Successfully ran 2 targets - [`nx run blog:build:staging`](https://cloud.nx.app/runs/28q0tGspmW?utm_source=pull-request&utm_medium=comment) - [`nx affected -t lint test --configuration=ci --base=eebc506ebe7dc7322b7c9d583cd01f6d7211e73c`](https://cloud.nx.app/runs/wXFAOBAP1l?utm_source=pull-request&utm_medium=comment)

Sent with πŸ’Œ from NxCloud.

github-actions[bot] commented 2 months ago

πŸ¦™ MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
βœ… ACTION actionlint 7 0 0.19s
βœ… COPYPASTE jscpd yes no 1.81s
βœ… EDITORCONFIG editorconfig-checker 409 0 1.3s
βœ… JSON jsonlint 77 0 0.49s
βœ… JSON npm-package-json-lint yes no 0.7s
βœ… JSON prettier 77 0 4.27s
βœ… JSON v8r 77 0 120.13s
βœ… MARKDOWN markdownlint 21 0 0.99s
βœ… MARKDOWN markdown-link-check 34 0 9.26s
⚠️ MARKDOWN markdown-table-formatter 34 1 0.26s
βœ… REPOSITORY checkov yes no 44.61s
βœ… REPOSITORY gitleaks yes no 1.41s
βœ… REPOSITORY git_diff yes no 0.08s
βœ… REPOSITORY secretlint yes no 1.67s
βœ… REPOSITORY trivy yes no 19.91s
βœ… REPOSITORY trivy-sbom yes no 3.27s
βœ… REPOSITORY trufflehog yes no 47.94s
βœ… SPELL cspell 411 0 6.5s
βœ… XML xmllint 3 0 0.01s
βœ… YAML prettier 14 0 2.25s
βœ… YAML v8r 14 0 12.6s
βœ… YAML yamllint 14 0 0.83s

See detailed report in MegaLinter reports

_MegaLinter is graciously provided by OX Security_

github-actions[bot] commented 2 months ago

Azure Static Web Apps: Your stage site is ready! Visit it here: https://purple-flower-05318b203-126.westeurope.5.azurestaticapps.net

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.63%. Comparing base (eebc506) to head (0887772).

Additional details and impacted files | [Files](https://app.codecov.io/gh/peterjokumsen/peterjokumsen-nx-workspace/pull/126?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Peter+Jokumsen) | Coverage Ξ” | | |---|---|---| | [...erer/src/lib/components/md-code-block.component.ts](https://app.codecov.io/gh/peterjokumsen/peterjokumsen-nx-workspace/pull/126?src=pr&el=tree&filepath=ng-libs%2Fmd-renderer%2Fsrc%2Flib%2Fcomponents%2Fmd-code-block.component.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Peter+Jokumsen#diff-bmctbGlicy9tZC1yZW5kZXJlci9zcmMvbGliL2NvbXBvbmVudHMvbWQtY29kZS1ibG9jay5jb21wb25lbnQudHM=) | `93.75% <ΓΈ> (ΓΈ)` | | ... and [48 files with indirect coverage changes](https://app.codecov.io/gh/peterjokumsen/peterjokumsen-nx-workspace/pull/126/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Peter+Jokumsen) | [Components](https://app.codecov.io/gh/peterjokumsen/peterjokumsen-nx-workspace/pull/126/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Peter+Jokumsen) | Coverage Ξ” | | |---|---|---| | [md-parser](https://app.codecov.io/gh/peterjokumsen/peterjokumsen-nx-workspace/pull/126/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Peter+Jokumsen) | `βˆ… <ΓΈ> (βˆ…)` | | | [ts-libs](https://app.codecov.io/gh/peterjokumsen/peterjokumsen-nx-workspace/pull/126/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Peter+Jokumsen) | `βˆ… <ΓΈ> (βˆ…)` | | | [md-renderer](https://app.codecov.io/gh/peterjokumsen/peterjokumsen-nx-workspace/pull/126/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Peter+Jokumsen) | `85.50% <ΓΈ> (ΓΈ)` | | | [module_ng_libs](https://app.codecov.io/gh/peterjokumsen/peterjokumsen-nx-workspace/pull/126/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Peter+Jokumsen) | `βˆ… <ΓΈ> (βˆ…)` | | | [app_blog](https://app.codecov.io/gh/peterjokumsen/peterjokumsen-nx-workspace/pull/126/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Peter+Jokumsen) | `89.91% <ΓΈ> (ΓΈ)` | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/peterjokumsen/peterjokumsen-nx-workspace/pull/126?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Peter+Jokumsen). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Peter+Jokumsen) > `Ξ” = absolute (impact)`, `ΓΈ = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/peterjokumsen/peterjokumsen-nx-workspace/pull/126?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Peter+Jokumsen). Last update [eebc506...0887772](https://app.codecov.io/gh/peterjokumsen/peterjokumsen-nx-workspace/pull/126?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Peter+Jokumsen). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Peter+Jokumsen).
github-actions[bot] commented 2 months ago

⚑️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO Report
/ 🟒 89 🟒 95 🟒 96 🟒 88 Report
/about-me 🟒 95 🟒 96 🟒 96 🟒 88 Report
/development-notes 🟒 93 🟒 96 🟒 96 🟒 88 Report
/not/found 🟒 97 🟒 95 🟒 96 🟒 88 Report