diff --git a/CHANGELOG.md b/CHANGELOG.md index a39253ca0..c7cb3b070 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## Unreleased + +### Fixed + +- Fixed `outline` top and bottom not handling alpha - https://github.com/Textualize/textual/issues/2371 ## [0.22.3] - 2023-04-29 diff --git a/src/textual/_styles_cache.py b/src/textual/_styles_cache.py index a10170111..526230f9e 100644 --- a/src/textual/_styles_cache.py +++ b/src/textual/_styles_cache.py @@ -432,7 +432,7 @@ class StylesCache: outline_top if y == 0 else outline_bottom, inner, outer, - from_color(color=outline_color.rich_color), + from_color(color=(base_background + outline_color).rich_color), ) line = render_row( box_segments[0 if y == 0 else 2],