diff --git a/src/textual/widgets/_footer.py b/src/textual/widgets/_footer.py
index 01aff311f9..9c79544d10 100644
--- a/src/textual/widgets/_footer.py
+++ b/src/textual/widgets/_footer.py
@@ -83,6 +83,7 @@ def render(self) -> Text:
key_style = self.get_component_rich_style("footer-key--key")
description_style = self.get_component_rich_style("footer-key--description")
key_display = self.key_display
+ key_padding = self.get_component_styles("footer-key--key").padding
if self.upper_case_keys:
key_display = key_display.upper()
if self.ctrl_to_caret and key_display.lower().startswith("ctrl+"):
@@ -94,7 +95,10 @@ def render(self) -> Text:
)
else:
label_text = Text.assemble(
- (f" {key_display} ", key_style), (description, description_style), " "
+ (f" {key_display} ", key_style),
+ " " * key_padding.right,
+ (description, description_style),
+ " ",
)
label_text.stylize_before(self.rich_style)
return label_text
diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots.ambr b/tests/snapshot_tests/__snapshots__/test_snapshots.ambr
index d39d170cce..3eb956b79e 100644
--- a/tests/snapshot_tests/__snapshots__/test_snapshots.ambr
+++ b/tests/snapshot_tests/__snapshots__/test_snapshots.ambr
@@ -20996,6 +20996,163 @@
'''
# ---
+# name: test_footer_classic_styling
+ '''
+
+
+ '''
+# ---
# name: test_footer_render
'''