diff --git a/CHANGELOG.md b/CHANGELOG.md index e66cb4e19..86b56e44f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fall back to `sys.__stderr__` on POSIX systems when trying to get the terminal size (fix issues when Rich is piped to another process) - Fixed markup escaping issue https://github.com/Textualize/rich/issues/2187 +- Safari - Box appearing around SVG export https://github.com/Textualize/rich/pull/2201 ## [12.2.0] - 2022-04-05 diff --git a/rich/_export_format.py b/rich/_export_format.py index f9217b2a2..d67fc81a3 100644 --- a/rich/_export_format.py +++ b/rich/_export_format.py @@ -69,7 +69,7 @@ align-items: center; background-color: {theme_background_color}; border-radius: 14px; - outline: 1px solid #484848; + box-shadow: 0 0 0 1px #484848; }} .{classes_prefix}-terminal:after {{ position: absolute; diff --git a/tests/test_console.py b/tests/test_console.py index 3305202bd..b0cdfe5be 100644 --- a/tests/test_console.py +++ b/tests/test_console.py @@ -543,7 +543,7 @@ def test_export_html_inline(): align-items: center; background-color: #0c0c0c; border-radius: 14px; - outline: 1px solid #484848; + box-shadow: 0 0 0 1px #484848; } .rich-svg-${SVG_HASH}-terminal:after { position: absolute;