From b204d51acbe91680f11e6bdfcccd182f4bc32b50 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Tue, 28 Jan 2025 11:17:11 +0000 Subject: [PATCH] :hammer: Simplify the CSS for the PEP viewer --- src/peplum/app/screens/pep_viewer.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/peplum/app/screens/pep_viewer.py b/src/peplum/app/screens/pep_viewer.py index 307a9c1..b304938 100644 --- a/src/peplum/app/screens/pep_viewer.py +++ b/src/peplum/app/screens/pep_viewer.py @@ -35,18 +35,15 @@ class PEPViewer(ModalScreen[None]): scrollbar-background: $panel; scrollbar-background-hover: $panel; scrollbar-background-active: $panel; - Static { + #text { + padding: 0 1; color: $text-muted; } - &:focus Static { + &:focus #text { color: $text; } } - #text { - padding: 0 1; - } - #buttons { height: auto; margin-top: 1;